Skip to content

Fix incorrect instructions in 'Upgrade a Cluster Running PCR'#23151

Open
rmloveland wants to merge 2 commits intomainfrom
20260401-DOC-16558-update-pcr-placeholder
Open

Fix incorrect instructions in 'Upgrade a Cluster Running PCR'#23151
rmloveland wants to merge 2 commits intomainfrom
20260401-DOC-16558-update-pcr-placeholder

Conversation

@rmloveland
Copy link
Copy Markdown
Contributor

Fixes DOC-16558

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 798da7e
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/69cd3eb2c6ed420008576db4

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 798da7e
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/69cd3eb29c87a1000833dac9

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Netlify Preview

Name Link
🔨 Latest commit 798da7e
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/69cd3eb27dd4f0000889cd9c
😎 Deploy Preview https://deploy-preview-23151--cockroachdb-docs.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 project configuration.

@rmloveland
Copy link
Copy Markdown
Contributor Author

FYI for Docs reviewer - this was LGTM'd in #docs slack channel by @smcvey

Copy link
Copy Markdown
Contributor

@bsanchez-the-roach bsanchez-the-roach left a comment

Choose a reason for hiding this comment

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

One comment, otherwise LGTM

{% include_cached copy-clipboard.html %}
~~~ sql
ALTER VIRTUAL CLUSTER <readervc-name> SET REPLICATION READ VIRTUAL CLUSTER;
ALTER VIRTUAL CLUSTER <application-vc> SET REPLICATION READ VIRTUAL CLUSTER;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this <application-vc> the same string as <application-vc-readonly>? If so maybe you should just use <application-vc-readonly>? The change in placeholder makes it seem like it should be a different string.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The change in placeholder makes it seem like it should be a different string.

Yes, it's supposed to be a different string, that is the purpose of this docs change. The first two commands run on the readonly version of the cluster being replicated which is called <cluster>-readonly. The last command rebuilds the readonly version from the non-readonly version so it's <cluster> without the -readonly.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see, makes sense. @rmloveland Possible suggestion of using <application-vc-main> to differentiate? I wasn't sure which VC (of the two mentioned in step 4) that that placeholder referred to. But up to you, might be obvious to someone who knows more about the topic.

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.

3 participants