Skip to content

Conversation

@kbatuigas
Copy link
Contributor

@kbatuigas kbatuigas commented Jan 9, 2025

Description

Based on this discussion, we should

  • explicitly state that multi-region buckets are not supported,
  • cross-region RRR (where the remote cluster accessing the RRR topic is in a different region as the source topic's bucket).

TODO

Resolves https://github.com/redpanda-data/documentation-private/issues/
Review deadline: 10 Jan

Page previews

Remote Read Replicas
Tiered Storage > Limitations

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@kbatuigas kbatuigas requested a review from a team as a code owner January 9, 2025 17:16
@netlify
Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit e145dfe
🔍 Latest deploy log https://app.netlify.com/sites/redpanda-docs-preview/deploys/67866a9dfda59e0008218e59
😎 Deploy Preview https://deploy-preview-942--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kbatuigas kbatuigas requested a review from Lazin January 9, 2025 17:17
You need the following:

* An origin cluster with xref:{tiered-storage-link}#set-up-tiered-storage[Tiered Storage] set up.
* An origin cluster with xref:{tiered-storage-link}#set-up-tiered-storage[Tiered Storage] set up. Note that multi-region buckets or containers are not supported.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that it's specifically the object storage bucket (for the TS setup) that has to be single-region and not multi-region. Would like to double check that this is the best place in this doc to add a heads-up regarding multi-region?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm OK with keeping it this way. RRR will work with both single reagion and multi-region buckets but we only test with single region.

* A separate remote cluster in the same region as the bucket or container used for the origin cluster.
** If you use a multi-region bucket/container, you can create the read replica cluster in any region that has that bucket/container.
** If you use a single-region bucket/container, the remote cluster must be in the same region as the bucket/container.
* A separate remote cluster. This cluster can be in the same or a different region as the bucket or container used for the origin cluster.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our version of RRR doc for Cloud says:

Prerequisites

  • A BYOC reader cluster in Ready state. This separate reader cluster must exist in the same Redpanda organization and the same cloud provider account and region as the source cluster.

Does this need to be edited? It seems to me that the prereq regarding the region can be changed, but I'm not sure about it the reader cluster having to be in the same RP org and cloud account still.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The edit makes sense.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To further complicate things, different region is only supported in GCP right now. Not in AWS. RRR is not at all supported in Azure.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's that deep, maybe we should add a table or something about the 3 different providers.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, interesting: thanks @frenchfrywpepper! I've added to this other PR about beta/LA features. Please also update that PR with any other info you know about beta/LA features.

I don't think a table for the providers is necessary here. I'd just note the difference for providers in the Prereqs.

@kbatuigas kbatuigas requested a review from dotnwat January 9, 2025 18:13
@kbatuigas kbatuigas requested a review from micheleRP January 13, 2025 15:58
. Create a remote cluster for the Remote Read Replica topic.
* If that's a multi-region bucket/container, you can create the read replica cluster in any region that has that bucket/container.
* If that's a single-region bucket/container, the remote cluster must be in the same region as the bucket/container.
. Create a remote cluster for the Remote Read Replica topic. The remote cluster can be in the same or a different region as the bucket/container.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you have the same info here in the step; i.e., for AWS, the remote cluster must be in the same region as the origin cluster, but for GCP, the remote cluster can be in the same or a different region as the origin cluster.

Copy link
Contributor

@micheleRP micheleRP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some comments, but looks good!

** If you use a multi-region bucket/container, you can create the read replica cluster in any region that has that bucket/container.
** If you use a single-region bucket/container, the remote cluster must be in the same region as the bucket/container.
* A separate remote cluster.
** AWS: The remote cluster must be in the same region as the origin cluster.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking - is this a feature of BYOC rather than AWS in general?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that for AWS the cluster must be in the same region is a limitation of Redpanda Core. https://redpandadata.slack.com/archives/C0191NM4WU9/p1733252862922189

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirming whether this should specifically mention the origin cluster's storage bucket. Does Tiered Storage require that the bucket be in the same region as the cluster? I think it's implied but our docs don't explicitly state that.

** If you use a multi-region bucket/container, you can create the read replica cluster in any region that has that bucket/container.
** If you use a single-region bucket/container, the remote cluster must be in the same region as the bucket/container.
* A separate remote cluster.
** AWS: The remote cluster must be in the same region as the origin cluster's storage bucket/container.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So sorry, these 3 bits of information are applicable to Cloud. I can't speak to the self-managed side. Sorry I wasn't paying attention and steered you wrong. :(

@kbatuigas kbatuigas merged commit 4e66e5f into main Jan 14, 2025
7 checks passed
@kbatuigas kbatuigas deleted the DOC-809-Tiered-storage-recommendations-for-region-vs-multi-region-buckets branch January 14, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants