Skip to content

DOCS-1395 config server tutorials #865

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

Closed
wants to merge 1 commit into from
Closed

DOCS-1395 config server tutorials #865

wants to merge 1 commit into from

Conversation

bgrabar
Copy link

@bgrabar bgrabar commented Apr 16, 2013

Ready for merge after Sam reviews

@@ -1,246 +1,25 @@
.. index:: config servers; operations
.. _sharding-procedure-config-server:
Copy link
Contributor

Choose a reason for hiding this comment

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

removing this line might make a link somewhere fail to resolve.

Copy link
Author

Choose a reason for hiding this comment

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

I grepped that, and there were no refs linking to sharding-procedure-config-server.

Copy link
Contributor

Choose a reason for hiding this comment

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

sweet!

@tychoish
Copy link
Contributor

I think each of the new documents should have some link to the the conceptual information about config servers and sharded clusters, as they feel a bit abrupt at the moment.

@bgrabar
Copy link
Author

bgrabar commented Apr 17, 2013

I'm not sure I correctly updated the redirect. I added the following to /bin/htaccess.yaml:

redirect-path: '/administration/sharded-clusters'
url-base: '/tutorial/manage-sharded-cluster-config-server'

type: 'redirect'
code: 301
outputs:
- 'v2.2'
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for remembering this, we definitely need to manage the redirect, however:

  • the redirect-path field is "take this path and redirect requests for it somewhere else." while url-base is the "somewhere else". So this is basically backwards. No big deal, I have to look at the header each time and repeat the "redirect-path is from url-base is to" mantra in my head while writing these rules.

  • outputs is the editions/versions of the manual where the redirect must exist. In the following regexp-ish statement, it's everything between the parens http://docs.mongodb.org/(manual|master|v2.2|...)/.* Think about the history of this page: the goal is to make sure that if we've published redirect-path for a given output, that we list it here. In this case I think we want manual and master.

    Redirects that don't include manual and master are typically for pages that we've added to the current release, and these redirects support the version flipper experience.

    Incidentally there are also fake outputs for before-<version> and after-<version>. which make it possible to specify groups of outputs more easily, and while we don't use many of them right now because we have a limited number of versions, we will have more in the future.

@tychoish
Copy link
Contributor

merged!

@tychoish tychoish closed this Apr 17, 2013
mongo-cr-bot pushed a commit that referenced this pull request Mar 25, 2022
* DOCSP-20266: Update Time Series limitations with Data API info

* DOCSP-20266: reverting commit

* DOCSP-20266: Add Data API the the time series limitations page

* DOCSP-20266

* DOCSP-20266:Fix link typo.

* DOCSP-20266:Fix link typo.

* DOCSP-20266: Incorporate review comments

* DOCSP-20266: Upate with review feedback.

* DOCSP-20266: Minor edit

Co-authored-by: Sarah Olson <[email protected]>
Co-authored-by: Sarah Olson <[email protected]>

Co-authored-by: Sarah Olson <[email protected]>
Co-authored-by: Sarah Olson <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 23, 2025
* DOCSP-46527 -- Add GitHub access requirement note

* DOCSP-46527 -- copy review revision

(cherry picked from commit 8ef53b8)
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 1, 2025
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.

2 participants