chore(deps): bump badger to v4.9.3 and ristretto to v2.4.1#9771
Open
matthewmcneely wants to merge 6 commits into
Open
chore(deps): bump badger to v4.9.3 and ristretto to v2.4.1#9771matthewmcneely wants to merge 6 commits into
matthewmcneely wants to merge 6 commits into
Conversation
Update dependencies to their latest releases. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
a7e5501 to
bf40f4b
Compare
This comment has been minimized.
This comment has been minimized.
Use the fix/dropprefix-drops-acknowledged-writes branch (github.com/dgraph-io/badger@83d7d79) to rerun CI against the fix for the #2308 regression, where DropPrefix/DropAll error accepted pending writes instead of waiting for room under flushChan backpressure. Temporary: repoint to a released badger tag once the fix lands. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…rors WaitForRestore's first poll loop returned on any AlphasHealth error except "draining mode", so a single transient health blip under load — an i/o timeout, a refused connection, or a momentary quorum loss — failed the whole restore wait (and the test's require.NoError turned it fatal). This is a frequent flake in TestIncrementalRestore and TestNamespaceAwareRestore. Retry through transient connectivity errors instead of bailing, bound the loop so it can't spin forever, and apply the same tolerance to the log-poll loop. Correctness is preserved: the log loop still confirms the restore actually completed before returning success. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
TestNamespaceAwareRestore queried the restored count once, immediately after WaitForRestore. On a multi-group cluster the queried replica can be one Raft apply behind for a brief window, so the single-shot assert intermittently saw an off-by-one (e.g. count 100 vs 101) even though the restore completed cleanly on every alpha. Poll the count until it converges to the expected value (bounded ~60s) via a requireEventualJSON helper. This is not masking: if the data never converges (a genuine restore data loss), the final CompareJSON still fails. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
Runs only TestIncrementalRestore (x8) and TestNamespaceAwareRestoreOnMultipleGroups (x4) on Linux, isolated from the full integration2 suite, to validate the Badger v4.9.3 + #2308-fix bump without the whole-suite OOM / zero-quorum-loss noise. Temporary — remove before merging. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Validation complete: restore correctness confirmed on the Badger v4.9.3 + #2308 fix (incremental 8/8; zero data-correctness failures). The namespace-multigroup flakiness was shown to be pre-existing infra (slow-disk raft quorum loss) via a v4.9.2 baseline, independent of the bump. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps two Dgraph-owned storage dependencies to their latest releases:
github.com/dgraph-io/badger/v4:v4.9.2→v4.9.3github.com/dgraph-io/ristretto/v2:v2.4.0→v2.4.1Why
Keep the embedded KV store and cache current with upstream fixes.
Testing
go mod tidyis clean../dgraph/...,./posting/...,./worker/...,./raftwal/....🤖 Generated with Claude Code