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 Query.Consistency() and .MapScanCAS() #8

Merged
merged 3 commits into from
Feb 2, 2024

Conversation

max-melentyev
Copy link
Contributor

@max-melentyev max-melentyev commented Jan 26, 2024

Hey, by default MapScanCAS uses SERIAL consistency. I need to set LOCAL_SERIAL.
Intended use is c.Query().Consistency().MapScanCAS(). I couldn't find a way to set it using .ScanMapTx()

Copy link
Owner

@willfaught willfaught left a comment

Choose a reason for hiding this comment

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

Sorry for the delay. Commented.

query.go Outdated Show resolved Hide resolved
query.go Outdated Show resolved Hide resolved
@max-melentyev
Copy link
Contributor Author

Good catch! Updated

Copy link
Owner

@willfaught willfaught left a comment

Choose a reason for hiding this comment

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

Thanks! Almost there.

query.go Outdated Show resolved Hide resolved
@willfaught willfaught merged commit d04cbbc into willfaught:master Feb 2, 2024
1 check passed
@willfaught
Copy link
Owner

Released v0.4.0

@max-melentyev max-melentyev deleted the map-scan-cas branch February 3, 2024 09:22
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