-
Notifications
You must be signed in to change notification settings - Fork 1
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
delete immediate task on completion #95
delete immediate task on completion #95
Conversation
tested locally by querying xdb_sys_immediate_tasks |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #95 +/- ##
==========================================
+ Coverage 65.51% 65.62% +0.10%
==========================================
Files 77 77
Lines 5849 5829 -20
==========================================
- Hits 3832 3825 -7
+ Misses 1775 1761 -14
- Partials 242 243 +1 ☔ View full report in Codecov by Sentry. |
we also need to remove the logic of batch delete in immediate_task_queue |
engine/immediate_task_queue.go
Outdated
@@ -98,7 +97,6 @@ func (w *immediateTaskQueueImpl) Start() error { | |||
case <-w.pollTimer.FireChan(): | |||
w.pollAndDispatchAndPrepareNext() | |||
case <-w.commitTimer.FireChan(): |
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.
I don't think we need the commit timer anymore?
Why make this pull request?
[Explain why you are making this pull request and what problem it solves.]
What has changed
[Summarize what components of the repo is updated]
[Link to xdb-apis/xdb-golang-sdk PRs if it's on top of any API changes]
How to test this pull request?
[If writing Integration test in Golang SDK repo, please provide link to the pull request of Golang SDK Repo]
[It's recommended to write integration test in Golang SDK repo, and enabled in this server repo first,
without enabling in the SDK repo. After this PR is merged, enable and merge the integration test in the SDK repo]
[Alternatively if Java/other SDK repo is preferred, then just test locally against server PR.
After the server PR is merged, merge the integration test in the SDK repo]
Checklist before merge
[ ] If applicable, merge the xdb-apis/xdb-golang-sdk PRs to main branch
[ ] If applicable, merge the xdb-apis/xdb-apis PRs to main branch
[ ] Update
go.mod
to use the commitID of the main branches for xdb-apis/xdb-golang-sdk