-
Notifications
You must be signed in to change notification settings - Fork 115
Enable new KeyValueCursorBaseContinuation serialization #3671
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
Changes from all commits
48e4380
2148c29
a38fb86
725ab6b
5d60766
9068d62
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -219,7 +219,7 @@ public RecordQueryIndexPlan(@Nonnull final String indexName, | |
| @Nonnull final Optional<? extends MatchCandidate> matchCandidateOptional, | ||
| @Nonnull final Type resultType, | ||
| @Nonnull final QueryPlanConstraint constraint) { | ||
| this(indexName, commonPrimaryKey, scanParameters, indexFetchMethod, fetchIndexRecords, reverse, strictlySorted, matchCandidateOptional, resultType, constraint, KeyValueCursorBase.SerializationMode.TO_OLD); | ||
| this(indexName, commonPrimaryKey, scanParameters, indexFetchMethod, fetchIndexRecords, reverse, strictlySorted, matchCandidateOptional, resultType, constraint, KeyValueCursorBase.SerializationMode.TO_NEW); | ||
| } | ||
|
|
||
| @VisibleForTesting | ||
|
|
@@ -834,7 +834,7 @@ public byte[] toBytes() { | |
| if (bytes == null) { | ||
| synchronized (this) { | ||
| if (bytes == null) { | ||
| bytes = KeyValueCursorBase.Continuation.getInnerContinuation(new KeyValueCursorBase.Continuation(KeyValueCursorBase.Continuation.getInnerContinuation(baseContinuation.toBytes()), prefixLength, serializationMode).toBytes()); | ||
| bytes = new KeyValueCursorBase.Continuation(KeyValueCursorBase.Continuation.getInnerContinuation(baseContinuation.toBytes()), prefixLength, serializationMode).toBytes(); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is a mistake I made in the last PR. When we are in
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, that makes sense. And walking through this, this only affected producing new continuations, not reading new continuations, so we should still be good to update the behavior to |
||
| } | ||
| } | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.