yugabyte/yugabyte-db

[DocDB] Initialize CoarseTimePoint with CoarseTimePoint::min() wherever possible

Open

#18.905 geöffnet am 30. Aug. 2023

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C (1.003 Forks)batch import
area/docdbgood first issuekind/enhancementpriority/medium

Repository-Metriken

Stars
 (8.229 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)

Beschreibung

Jira Link: DB-7762

Description

The default value of CoarseTimePoint is represented by 0, which is an arbitrary point in time. CoarseTimePoint::min(), on the other hand, is the value that we consider "uninitialized" for the purposes of the IsInitialized function.

The IsInitialized function for CoarseTimePoint was introduced in 288330db51749705d770dd9f4a66f1fc25c15283.

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Contributor Guide