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

[cluster] Fix a bug in shards.Clone() #3535

Merged
merged 1 commit into from
Jun 2, 2021
Merged

Conversation

linasm
Copy link
Collaborator

@linasm linasm commented Jun 2, 2021

What this PR does / why we need it:
shards.Clone() was adding the original shards to the cloned shardMap without making a copy of them.

Special notes for your reviewer:

Does this PR introduce a user-facing and/or backwards incompatible change?:
NONE

Does this PR require updating code package or user-facing documentation?:
NONE

Copy link
Collaborator

@robskillington robskillington left a comment

Choose a reason for hiding this comment

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

Ugh, LGTM 👍

@linasm linasm enabled auto-merge (squash) June 2, 2021 09:29
@linasm linasm merged commit a491c47 into master Jun 2, 2021
@linasm linasm deleted the linasm/fix-shards-clone branch June 2, 2021 09:50
linasm added a commit that referenced this pull request Jun 2, 2021
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.

2 participants