Skip to content

jobs: record creation cluster ID and version#79139

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
dt:job-creation-clusterid
Apr 1, 2022
Merged

jobs: record creation cluster ID and version#79139
craig[bot] merged 1 commit intocockroachdb:masterfrom
dt:job-creation-clusterid

Conversation

@dt
Copy link
Copy Markdown
Contributor

@dt dt commented Mar 31, 2022

Release note: none.

@dt dt requested review from a team as code owners March 31, 2022 15:37
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@miretskiy
Copy link
Copy Markdown
Contributor

Can you provide a bit more context as to why we need this?

@dt dt force-pushed the job-creation-clusterid branch from eb1154c to cbe38b4 Compare March 31, 2022 16:25
@dt
Copy link
Copy Markdown
Contributor Author

dt commented Mar 31, 2022

added comments to the fields

@miretskiy
Copy link
Copy Markdown
Contributor

To confirm: Do we want this on jobs level? and not per-job implementation?

@dt
Copy link
Copy Markdown
Contributor Author

dt commented Mar 31, 2022

Do we want this on jobs level? and not per-job implementation?

Jobs level here is just capturing the info about when a job was made; what to do with it is up to per-job logic.

@dt
Copy link
Copy Markdown
Contributor Author

dt commented Apr 1, 2022

@miretskiy did you have a concern about it or just curious about the expected usage?

@miretskiy
Copy link
Copy Markdown
Contributor

No concerns, just curious.

@dt
Copy link
Copy Markdown
Contributor Author

dt commented Apr 1, 2022

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 1, 2022

Build succeeded:

@craig craig bot merged commit 005b6ec into cockroachdb:master Apr 1, 2022
craig bot pushed a commit that referenced this pull request Apr 1, 2022
79228: backupccl: run TestFullClusterBackup with span configs r=irfansharif a=irfansharif

Closes #75060; speculating that #79222 fixed the underlying issue.
Previously the reconciliation job errored out with "expected to delete
11 row(s), deleted 10", which could conceivably occur if there were two
instances of the reconciliation job running post-restore (something
\#79222 fixes).

Release note: None

---

First two commits are from #79139 and #79222 respectively.

Co-authored-by: David Taylor <tinystatemachine@gmail.com>
Co-authored-by: irfan sharif <irfanmahmoudsharif@gmail.com>
@dt dt deleted the job-creation-clusterid branch April 5, 2022 17:02
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.

4 participants