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

CXXCBC-350: Resolve collection ID before performing any scan operations #433

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

DemetrisChr
Copy link
Contributor

Get the collection ID before starting any of the streams and use that in range_scan_create_options instead of the collection name. This ensures that all scan results come from the same collection (in case a collection is dropped and another one is created with the same name)

@DemetrisChr DemetrisChr requested a review from avsej July 21, 2023 18:49
@DemetrisChr DemetrisChr merged commit 5451a9e into couchbase:main Jul 24, 2023
@DemetrisChr DemetrisChr deleted the range-scan-cid branch July 24, 2023 08:45
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