Skip to content

CXXCBC-531: Transfer ownership of range_scan_orchestrator_impl to scan_result#645

Merged
DemetrisChr merged 1 commit intocouchbase:mainfrom
DemetrisChr:range-scan-orch-ownership
Aug 22, 2024
Merged

CXXCBC-531: Transfer ownership of range_scan_orchestrator_impl to scan_result#645
DemetrisChr merged 1 commit intocouchbase:mainfrom
DemetrisChr:range-scan-orch-ownership

Conversation

@DemetrisChr
Copy link
Copy Markdown
Contributor

When the range_scan_orchestrator.scan() method returns, ownership of range_scan_orchestrator_impl is transferred from the range_scan_orchestrator to the scan_result. This avoids the need to keep a reference to the range_scan_orchestrator while fetching items from the scan_result.

Each range_scan_orchestrator instance is only for a single scan, so no subsequent scan() calls will need to be made.

@DemetrisChr DemetrisChr merged commit 8be8b51 into couchbase:main Aug 22, 2024
@DemetrisChr DemetrisChr deleted the range-scan-orch-ownership branch August 22, 2024 14:24
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