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

Add ClusterUUID to RepositoryData #68002

Merged

Conversation

original-brownbear
Copy link
Member

The repo uuid change gives us an in to get this long requested change in for free in terms of BwC worries =>

Record the clusterUUID of the last cluster to write
to a repository in the RepositoryData and use it for more
meaningful logging when running into a concurrent modification
issues.

Record the clusterUUID of the last cluster to write
to a repository in the `RepositoryData` and use it for more
meaningful logging when running into a concurrent modification
issue.
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jan 26, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

Looks good, left just a few nits

@original-brownbear
Copy link
Member Author

Jenkins run elasticsearch-ci/oss-distro-docs (unrelated + known)

@original-brownbear
Copy link
Member Author

Thanks David, all points addressed I think :)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM

@original-brownbear
Copy link
Member Author

Thanks David!

@original-brownbear original-brownbear merged commit 7716207 into elastic:master Jan 28, 2021
@original-brownbear original-brownbear deleted the last-writer-cluster-uuid branch January 28, 2021 11:38
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Feb 15, 2021
Record the clusterUUID of the last cluster to write
to a repository in the `RepositoryData` and use it for more
meaningful logging when running into a concurrent modification
issue.
original-brownbear added a commit that referenced this pull request Feb 15, 2021
Record the clusterUUID of the last cluster to write
to a repository in the `RepositoryData` and use it for more
meaningful logging when running into a concurrent modification
issue.
@original-brownbear original-brownbear restored the last-writer-cluster-uuid branch April 18, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v7.12.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants