Skip to content

jobs: use hlc timestamp, not timeutil.Now#38387

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
jordanlewis:jobs-hlc
Jun 24, 2019
Merged

jobs: use hlc timestamp, not timeutil.Now#38387
craig[bot] merged 1 commit intocockroachdb:masterfrom
jordanlewis:jobs-hlc

Conversation

@jordanlewis
Copy link
Copy Markdown
Member

Closes #38226.

Previously, the jobs infrastructure was inconsistent about whether to
use hlc or physical clocks to timestamp its updates, creations and
deletes. This led to some test flakiness and likely some small real life
issues.

Now, we only use hlc timestamps.

Release note: None

Previously, the jobs infrastructure was inconsistent about whether to
use hlc or physical clocks to timestamp its updates, creations and
deletes. This led to some test flakiness and likely some small real life
issues.

Now, we only use hlc timestamps.

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @RaduBerinde and @rytaft)

@jordanlewis
Copy link
Copy Markdown
Member Author

bors r+

craig bot pushed a commit that referenced this pull request Jun 24, 2019
38387: jobs: use hlc timestamp, not timeutil.Now r=jordanlewis a=jordanlewis

Closes #38226.

Previously, the jobs infrastructure was inconsistent about whether to
use hlc or physical clocks to timestamp its updates, creations and
deletes. This led to some test flakiness and likely some small real life
issues.

Now, we only use hlc timestamps.

Release note: None

Co-authored-by: Jordan Lewis <jordanthelewis@gmail.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 24, 2019

Build succeeded

@craig craig bot merged commit 4c5be6d into cockroachdb:master Jun 24, 2019
@jordanlewis jordanlewis deleted the jobs-hlc branch June 25, 2019 21:17
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.

teamcity: failed test: TestCreateStatsLivenessWithRestart

3 participants