-
Notifications
You must be signed in to change notification settings - Fork 3k
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
enhance: add ts support for iterator(#22718) #36572
Conversation
@MrPresent-Han E2e jenkins job failed, comment |
@MrPresent-Han go-sdk check failed, comment |
f3e7f68
to
b8af35d
Compare
@MrPresent-Han E2e jenkins job failed, comment |
@MrPresent-Han go-sdk check failed, comment |
b8af35d
to
0557904
Compare
@MrPresent-Han E2e jenkins job failed, comment |
@MrPresent-Han go-sdk check failed, comment |
3072734
to
d3eadd1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #36572 +/- ##
==========================================
+ Coverage 72.51% 81.50% +8.98%
==========================================
Files 1308 1308
Lines 156196 156250 +54
==========================================
+ Hits 113271 127354 +14083
+ Misses 37806 23767 -14039
- Partials 5119 5129 +10
|
d3eadd1
to
1a98d54
Compare
1a98d54
to
463b7dc
Compare
@MrPresent-Han go-sdk check failed, comment |
@MrPresent-Han E2e jenkins job failed, comment |
463b7dc
to
1da47c9
Compare
1da47c9
to
c32e2b3
Compare
c32e2b3
to
4ff42a5
Compare
/lgtm |
4ff42a5
to
350328c
Compare
@MrPresent-Han E2e jenkins job failed, comment |
/run-cpu-e2e |
internal/proxy/search_util.go
Outdated
GroupStrictSize: groupStrictSize, | ||
}, | ||
offset: offset, | ||
isIterator: isIterator == "True", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: "True" const is friendly to language that boolean const does not start with capital T
if t.queryParams.isIterator && t.request.GetGuaranteeTimestamp() == 0 { | ||
// first page for iteration, need to set up sessionTs for iterator | ||
t.result.SessionTs = t.BeginTs() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe all iterator query shall return session ts so that it's easier for sdk to implement iterator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the first page for iterator, it's right for all sdks:
milvus only set up sessionTs for sdk-side iterator for the first time,
since second page, this sessinTs is set by iterator into guaranteeTs
Signed-off-by: MrPresent-Han <[email protected]>
350328c
to
2a4025a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia, MrPresent-Han The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
related: #22718