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

kvserver: fix envvar in closed timestamp regression error hint #73020

Merged

Conversation

erikgrinaker
Copy link
Contributor

When a closed timestamp is found to regress, an assertion error is
returned containing this hint:

This assertion will fire again on restart; to ignore run with env var COCKROACH_RAFT_CLOSEDTS_ASSERTIONS_ENABLED=true

However, this is incorrect: the env var must be set to false, not
true, to disable the assertion. This patch fixes that, and adds a
missing newline as well.

Resolves #72812.

Release note: None

When a closed timestamp is found to regress, an assertion error is
returned containing this hint:

```
This assertion will fire again on restart; to ignore run with env var COCKROACH_RAFT_CLOSEDTS_ASSERTIONS_ENABLED=true
```

However, this is incorrect: the env var must be set to `false`, not
`true`, to disable the assertion. This patch fixes that, and adds a
missing newline as well.

Release note: None
@erikgrinaker erikgrinaker requested review from andreimatei and a team November 21, 2021 12:32
@erikgrinaker erikgrinaker requested a review from a team as a code owner November 21, 2021 12:32
@erikgrinaker erikgrinaker self-assigned this Nov 21, 2021
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@erikgrinaker
Copy link
Contributor Author

bors r=tbg

@craig
Copy link
Contributor

craig bot commented Nov 22, 2021

Build succeeded:

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.

Error in log message mentioning COCKROACH_RAFT_CLOSEDTS_ASSERTIONS_ENABLED
3 participants