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

feat(bitmap): use enhanced bitmap from go-common-libs #625

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

james-munson
Copy link
Contributor

@james-munson james-munson commented Aug 13, 2024

Which issue(s) this PR fixes:

longhorn/longhorn#7802

What this PR does / why we need it:

Switch to use the enhanced bitmap utility to avoid immediate reuse and port collision.

Special notes for your reviewer:

Additional documentation or context

Copy link

mergify bot commented Aug 13, 2024

This pull request is now in conflict. Could you fix it @james-munson? 🙏

@james-munson james-munson self-assigned this Aug 13, 2024
@james-munson james-munson marked this pull request as draft August 13, 2024 19:26
@james-munson
Copy link
Contributor Author

The big part of this PR is switch from local bitmap to an enhanced one to be added to go-common-libs in longhorn/go-common-libs#60

Marking it as Draft until that one is committed and the replace => in go.mod can be removed.

@james-munson james-munson changed the title 7802 port collision feat(bitmap): use enhanced bitmap from go-common-libs Aug 13, 2024
Signed-off-by: James Munson <james.munson@suse.com>
@james-munson james-munson marked this pull request as ready for review August 20, 2024 17:53
@james-munson james-munson requested a review from a team August 20, 2024 17:54
Copy link
Contributor

@DamiaSan DamiaSan left a comment

Choose a reason for hiding this comment

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

Just a little remainder for us all: in this repo the packages from go-common-libs are imported as lh, meanwhile in longhorn-spdk-engine they are imported as common. For example we have lhBitmap and commonBitmap for the same package, maybe in the future we could align them.

@james-munson
Copy link
Contributor Author

@mergify backport v1.7.x

Copy link

mergify bot commented Sep 16, 2024

backport v1.7.x

✅ Backports have been created

@james-munson
Copy link
Contributor Author

I would like to see this fix backported to 1.7.2, so I have set a PR up for that.

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.

3 participants