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

DRIVERS-2789 Convert Causal Consistency Spec to Markdown #1510

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

blink1073
Copy link
Member

Please complete the following before merging:

  • Update changelog.
  • Make sure there are generated JSON files from the YAML test files.
  • Test changes in at least one language driver.
  • Test these changes against all server versions and topologies (including standalone, replica set, sharded
    clusters, and serverless).

@blink1073 blink1073 requested review from a team as code owners February 9, 2024 02:28
@blink1073 blink1073 requested review from jmikola and dariakp and removed request for a team and dariakp February 9, 2024 02:28
## Reference Implementation

A reference implementation must be completed before any spec is given status "Final", but it need not be completed
before the spec is “Accepted”. While there is merit to the approach of reaching consensus on the specification and
Copy link
Member

Choose a reason for hiding this comment

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

Out-of-scope nit: if possible, I'd be in favor of a lint check to avoid curly quotes in spec files.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not aware of any such linter. :). I replaced them manually in this file.

Note: some tests are only relevant to certain deployments. For the purpose of deciding which tests to run assume that
any deployment that is version 3.6 or higher and is either a replica set or a sharded cluster supports cluster times.

01. When a `ClientSession` is first created the `operationTime` has no value.
Copy link
Member

Choose a reason for hiding this comment

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

This is the first time I've seen leading zeroes in spec sources. We can probably do without those.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed


### Terms

**Causal consistency**\
Copy link
Member

Choose a reason for hiding this comment

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

Is this how you've been manually converting definition lists? Makes sense here, as it's probably the closest formatting we have to the RST.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes

@blink1073 blink1073 merged commit e43fecd into mongodb:master Feb 9, 2024
4 checks passed
@blink1073 blink1073 deleted the DRIVERS-2789-causal-consistency branch February 9, 2024 16:23
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