You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing disk-backed overflow-key GET throws NullReferenceException #2255
Garnet 2.2.1 closes the client connection when a missing 1,024-byte key collides with a disk-backed key in the same index bucket and tag. The server logs System.NullReferenceException from ObjectAllocatorImpl.VerifyRecordFromDiskCallback at line 1260.
prefix="synthetic:$(printf 'x%.0s' {1..982})"
stored="${prefix}87b7bf4eda4f44ccda64f1f5c40c5811"
missing="${prefix}fe6295bee3767698743c3edcf341e7cc"
redis-cli SET "$stored" value
redis-cli DEBUG FLUSHANDEVICT
redis-cli GET "$missing"
SET and DEBUG FLUSHANDEVICT succeed. GET reports:
Error: Server closed the connection
Expected behavior
GET should return a missing-key response without closing the connection.
Release version
2.2.1, official image ghcr.io/microsoft/garnet:2.2.1, digest sha256:05cb9eef041c9151b555eccbd62ce33b0661f8f9c02272cf0d604efb0ec2a143.
Activity