-
Notifications
You must be signed in to change notification settings - Fork 77
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
Backport PR #2598 to release/v1.7 for Bugfix NGT flush logic #2606
Conversation
* fix: bugfix flush logic Signed-off-by: hlts2 <[email protected]> * fix: nil check for flushing Signed-off-by: hlts2 <[email protected]> * fix: add flush check logic Signed-off-by: hlts2 <[email protected]> * fix: nil check bug Signed-off-by: hlts2 <[email protected]> * fix: add nil check Signed-off-by: hlts2 <[email protected]> * fix: return err when the flush process is executing Signed-off-by: hlts2 <[email protected]> * fix: add error check for flushing Signed-off-by: hlts2 <[email protected]> * fix: error message Signed-off-by: hlts2 <[email protected]> * fix: disable kvs and vqueue initialization Signed-off-by: hlts2 <[email protected]> * fix: disable commentout Signed-off-by: hlts2 <[email protected]> * fix: disable kvs and vq Signed-off-by: hlts2 <[email protected]> * fix: nil set to kvs and vq Signed-off-by: hlts2 <[email protected]> * fix: copy ngt service object for flushing Signed-off-by: hlts2 <[email protected]> * fix: deleted unnecessary nil check Signed-off-by: hlts2 <[email protected]> * fix: variable name Signed-off-by: hlts2 <[email protected]> --------- Signed-off-by: hlts2 <[email protected]> Co-authored-by: Yusuke Kato <[email protected]>
Deploying vald with Cloudflare Pages
|
WalkthroughWalkthroughThe changes in this pull request enhance error handling and functionality within the Changes
Possibly related PRs
Suggested labels
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
[CHATOPS:HELP] ChatOps commands.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/v1.7 #2606 +/- ##
===============================================
Coverage ? 24.38%
===============================================
Files ? 531
Lines ? 45850
Branches ? 0
===============================================
Hits ? 11179
Misses ? 33923
Partials ? 748 ☔ View full report in Codecov by Sentry. |
Description
If a CRUD operation such as insert is executed again after flush, a nil pointer error occurred.
Initialize with the RegenerateIndexes function, but do not rewrite the receiver. So I changed that the field is override.
Related Issue
Versions
Checklist
Special notes for your reviewer
Summary by CodeRabbit
Summary by CodeRabbit
Bug Fixes
inMem
flag is false.New Features
ngt
instances, enhancing state duplication.