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

docs: clarify more language in the Design section #1671

Merged
merged 12 commits into from
Mar 18, 2024

Conversation

emschwartz
Copy link
Contributor

  • docs: move details about linked events into Client Requests doc
  • docs: clarify language in Consistency doc
  • docs: rewrap consistency doc at 100 chars
  • docs: flesh out debits and credits section
  • docs: mention clients' id() function
  • docs: reword user_data section
  • docs: remove advanced ID examples
  • docs: rewrap at 100 chars

docs/design/consistency.md Outdated Show resolved Hide resolved
docs/design/consistency.md Outdated Show resolved Hide resolved
docs/design/consistency.md Outdated Show resolved Hide resolved
docs/design/consistency.md Outdated Show resolved Hide resolved
docs/design/data-modeling.md Outdated Show resolved Hide resolved
docs/design/data-modeling.md Outdated Show resolved Hide resolved
docs/design/data-modeling.md Outdated Show resolved Hide resolved
docs/design/data-modeling.md Outdated Show resolved Hide resolved
docs/design/data-modeling.md Outdated Show resolved Hide resolved
A time-based identifier (such as ULID or UUIDv7) are recommended for most applications.
A time-based identifier (such as ULID or UUIDv7) is recommended for most applications.

TigerBeetle clients include an `id()` function to generate IDs using these recommendations.

A ULID ("Universally Unique Lexicographically Sortable identifier") consists of:
Copy link
Member

Choose a reason for hiding this comment

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

Again, we should make it clear that we are describing our own ID scheme, not any spec.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

TigerBeetle Time-Based IDs? TBTBIDs?

docs/design/consistency.md Outdated Show resolved Hide resolved
docs/design/consistency.md Outdated Show resolved Hide resolved
docs/design/consistency.md Outdated Show resolved Hide resolved
docs/design/consistency.md Outdated Show resolved Hide resolved
docs/design/data-modeling.md Outdated Show resolved Hide resolved
docs/design/two-phase-transfers.md Outdated Show resolved Hide resolved
sentientwaffle
sentientwaffle previously approved these changes Mar 18, 2024
@emschwartz emschwartz added this pull request to the merge queue Mar 18, 2024
@emschwartz emschwartz removed this pull request from the merge queue due to a manual request Mar 18, 2024
Co-authored-by: Rafael Batiati <rbatiati@gmail.com>
before the transfer is either posted or voided, the full amount will be voided.
A pending transfer may optionally be created with a [timeout](../reference/transfers.md#timeout). If
the timeout interval passes before the transfer is either posted or voided, the transfer expires and
the full amount is returned to the original account.
Copy link
Contributor

Choose a reason for hiding this comment

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

full amount is returned to the original account.

I think it's more correct to say "the pending balance is removed" instead.

@emschwartz emschwartz added this pull request to the merge queue Mar 18, 2024
Merged via the queue into tigerbeetle:main with commit 386f57c Mar 18, 2024
27 checks passed
@emschwartz emschwartz deleted the docs/design-edits-2 branch March 18, 2024 17:38
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.

None yet

3 participants