Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Vitess analysis document #284

Merged
merged 15 commits into from
Apr 8, 2025
Merged

Add Vitess analysis document #284

merged 15 commits into from
Apr 8, 2025

Conversation

dwelsch-esi
Copy link
Collaborator

@dwelsch-esi dwelsch-esi commented Feb 19, 2025

Resolves: #280

- Advanced > Distributed Atomic Transactions
- Migration

There is one special-purpose FAQ, for VReplication in the Reference.
Copy link

Choose a reason for hiding this comment

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

We do have this FAQ as well
https://vitess.io/docs/faq/

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, OK. It's outside the versioned documentation so I missed it. There's a lot of good information here; I'll have a look and revise the analysis and recommendations!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@deepthi , @frouioui : I've updated the analysis to account fro the FAQ. Apologies for not catching the sections outside the versioned documentation. Please review.

**Localization & i18n directories**: Are you planning for localization/internationalization
with regard to site directory structure?

Yes, there are full versions of the documentation in both English and Chinese.
Copy link

Choose a reason for hiding this comment

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

We have been debating removing the Chinese documentation because it is being simply copied over for each new release without any content updates.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@deepthi You mean you're copying a down-level version of the documentation without the updates for new releases? Which version of the documentation is the current Chinese version?

Copy link
Member

Choose a reason for hiding this comment

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

I would recommend keeping it, but maybe stop versioning it, or suggest it's archived or deprecated somehow.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I would recommend keeping it, but maybe stop versioning it, or suggest it's archived or deprecated somehow.

I'd recommend removing it from any release later than the last time it was updated, and redirect from the later releases to that version.

but it should be presented explicitly as a step in the procedure.
Further down the page, another backup option, *Using mysqlshell*, has the same shortcomings:
No actual command is presented.
Copy link

Choose a reason for hiding this comment

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

The commands are presented towards the end of the page https://vitess.io/docs/21.0/user-guides/operating-vitess/backup-and-restore/creating-a-backup/
Maybe the page needs to be re-organized.

path for any problems with a task (the escalation path might be:
*troubleshooting procedure > Slack Channel > project Issue*). Get rid of the
[VReplication FAQ](https://vitess.io/docs/21.0/reference/vreplication/faq/)
in the reference section and put the information in a troubleshooting section.
Copy link

Choose a reason for hiding this comment

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

Would you recommend consolidating everything into https://vitess.io/docs/faq/
And potentially renaming that to Troubleshooting?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@deepthi That's one possibility but there's more than troubleshooting information in the FAQ. See comment above re the FAQ. Let me look into it and I'll add some options to the recommendations.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

See recommendations in the analysis. The good news is that there's a lot of good information in the FAQ. The bad news is that it's outside your versioning regimen. Also, I'm not a fan of FAQs in general. I recommend folding the information into the regular technical documentation.

Yes, there is a Community link in the site’s menu bar, leading to the Community page.
**New contributor document**: Is there a document specifically for new contributors/your
first contribution?
Copy link

Choose a reason for hiding this comment

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

https://vitess.io/docs/contributing/
That's for code contributions. Should we have a page for docs contributions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@deepthi Yes, or add doc contribution instructions to the code contribution doc.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Rename this file to analyses/0014-vitess/analysis.md

Copy link
Collaborator

Choose a reason for hiding this comment

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

@dwelsch-esi - please also rebase this PR from main at HEAD.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@dwelsch-esi - after you've rebased, also please ensure that all checks are passing.

Copy link
Member

Choose a reason for hiding this comment

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

I've done the rebase @dwelsch-esi & @chalin

Copy link
Member

Choose a reason for hiding this comment

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

(and the file rename)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Might be good to rebase again given the updates that have just landed for the link checking.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, could you address the GH check failures?

Copy link
Member

Choose a reason for hiding this comment

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

I just rebased again. I have to go do some mentorship stuff now, but I can check back in on this a bit later.

Comment on lines 318 to 324
**Release process**: Does your code release process account for documentation creation
& updates?

No, neither the [Contribute](https://vitess.io/docs/contributing/) documentation nor
the [CONTRIBUTING.md](https://github.com/vitessio/vitess/blob/main/CONTRIBUTING.md)
file in the product repo describes how to contribute documentation. There is no Contribution
section in the website repo.

Choose a reason for hiding this comment

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

We have this tool: https://github.com/vitessio/vitess-releaser, which maintainers use to create and ship new major and patch releases of Vitess. This tool lists and automated steps needed for a release, one of them is related to documentation and guides the maintainer on how to create and update the documentation before and after each release:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@frouioui Does the tool verify that you've updated the release notes?

Choose a reason for hiding this comment

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

It does not do this automatically, there is only a step asking the release lead to review them.

What the tool does automate:

  • The creation of a changelog file that lists all Pull Requests that were merged for this release.
  • The creation final release notes file, which is a template containing the changelog + a summary file written and reviewed manually by maintainers. This file is later uploaded to the GitHub Release page by the tool.

@chalin chalin changed the title Add Vitess analysis document. Add Vitess analysis document Mar 9, 2025
Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

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

See inline comments.

Also, I know that you're still working on this document, but consider addressing the check failures and then keeping the checks passing as the document evolves:

image

Comment on lines 472 to 474
> ````--topo_implementation=etcd2 --topo_global_server_address=<comma_separated_addresses>
> --topo_global_root=/vitess/global
> ````
Copy link
Collaborator

Choose a reason for hiding this comment

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

This markdown formatting doesn't make sense. First, you can use triple ticks. More importantly, there's probably a newline missing after the code-block opening syntax.

Copy link
Member

Choose a reason for hiding this comment

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

it's also a bit weird because it's a quote. I've gone in and fixed the newline tho.

Copy link
Member

Choose a reason for hiding this comment

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

Adding <!-- markdownlint-disable fenced-code-language --> as this is quoted content (if it's incorrectly formatted that needs to be communicated).

@dwelsch-esi, could you double check to make sure this snippet is correct from the source.

Copy link

netlify bot commented Mar 25, 2025

Deploy Preview for cncf-techdocs ready!

Name Link
🔨 Latest commit 86fc5c9
🔍 Latest deploy log https://app.netlify.com/sites/cncf-techdocs/deploys/67e352ff6a1bfa0008aaa64c
😎 Deploy Preview https://deploy-preview-284--cncf-techdocs.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.

@nate-double-u nate-double-u requested a review from chalin March 26, 2025 01:08
Copy link
Member

@nate-double-u nate-double-u left a comment

Choose a reason for hiding this comment

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

Let's merge this in as is. We've got issues getting opened over in https://github.com/vitessio/website/issues. We can make updates needed in a follow up PR.

@nate-double-u
Copy link
Member

Thanks for this @dwelsch-esi, and thanks everyone for the reviews.

@nate-double-u nate-double-u enabled auto-merge (squash) April 8, 2025 15:19
@nate-double-u nate-double-u disabled auto-merge April 8, 2025 15:21
@nate-double-u nate-double-u merged commit 77d8246 into cncf:main Apr 8, 2025
9 checks passed
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.

[CNCFSD-2355] [Vitess] TechDocs Analysis & Website updates
5 participants