Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Timestamp as reserve counter approach - Counter Rollover Handling #107

Closed
2 of 8 tasks
LiosK opened this issue May 22, 2022 · 2 comments · Fixed by #108
Closed
2 of 8 tasks

Timestamp as reserve counter approach - Counter Rollover Handling #107

LiosK opened this issue May 22, 2022 · 2 comments · Fixed by #108
Assignees

Comments

@LiosK
Copy link

LiosK commented May 22, 2022

Change Proposal Template

Source (Select one.)

  • IETF Published Draft
  • Work in Progress Draft

Change Reason (Select all that apply.)

  • Typos and grammatical issues
  • Bad Reference
  • IETF Verbiage modification (MAY, MUST, SHOULD, SHOULD NOT, etc)
  • New Text for additional context
  • Underlying XML Format Update
  • ASCII diagram updates (artwork, code samples, etc.)

Draft Number, Full Section, Name

Draft 04, Section 6.2. Monotonicity and Counters - Counter Rollover Handling

Current Text:

Counter rollovers SHOULD be handled by the application to avoid sorting issues. The general guidance is that applications that care about absolute monotonicity and sortability SHOULD freeze the counter and wait for the timestamp to advance which ensures monotonicity is not broken.

Proposed Text:

Counter rollovers SHOULD be handled by the application to avoid sorting issues. The general guidance is that applications that care about absolute monotonicity and sortability SHOULD freeze the counter and wait for the timestamp to advance which ensures monotonicity is not broken. Alternatively, implementations MAY increment the timestamp ahead of the actual time and reinitialize the counter if the applications can accept such timestamp alteration.


Other Supporting information below:

#60

@LiosK
Copy link
Author

LiosK commented May 22, 2022

#60 (comment)

@Sofya2003
Copy link

The phrase "if the applications can accept such timestamp alteration" is superfluous.

kyzer-davis added a commit that referenced this issue May 26, 2022
@kyzer-davis kyzer-davis linked a pull request May 26, 2022 that will close this issue
kyzer-davis added a commit that referenced this issue May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants