-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Fix corruption checks v3.5 #14282
Fix corruption checks v3.5 #14282
Commits on Sep 7, 2022
-
server: Extract triggerCorruptAlarm to function
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for d32de2c - Browse repository at this point
Copy the full SHA d32de2cView commit details -
server: Extract corruption detection to dedicated struct
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 35cbdf3 - Browse repository at this point
Copy the full SHA 35cbdf3View commit details -
server: Cover corruptionMonitor with tests
Get 100% coverage on InitialCheck and PeriodicCheck functions to avoid any mistakes. Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 78a6f38 - Browse repository at this point
Copy the full SHA 78a6f38View commit details -
server: Test HashByRev values to make sure they don't change
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 336fef4 - Browse repository at this point
Copy the full SHA 336fef4View commit details -
server: Extract unsafeHashByRev function
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for bc592c7 - Browse repository at this point
Copy the full SHA bc592c7View commit details -
server: Move unsafeHashByRev to new hash.go file
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 3f26995 - Browse repository at this point
Copy the full SHA 3f26995View commit details -
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for f5ed371 - Browse repository at this point
Copy the full SHA f5ed371View commit details -
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 679e327 - Browse repository at this point
Copy the full SHA 679e327View commit details -
server: Return error from scheduleCompaction
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 22d3e4e - Browse repository at this point
Copy the full SHA 22d3e4eView commit details -
server: Move reading KV index inside scheduleCompaction function
Makes it easier to test hash match between scheduleCompaction and HashByRev. Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for ea684db - Browse repository at this point
Copy the full SHA ea684dbView commit details -
server: Fix range in mock not returning same number of keys and values
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for f1a759a - Browse repository at this point
Copy the full SHA f1a759aView commit details -
server: Calculate hash during compaction
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 21e5d5d - Browse repository at this point
Copy the full SHA 21e5d5dView commit details -
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 2b8dd0d - Browse repository at this point
Copy the full SHA 2b8dd0dView commit details -
server: Move adjusting revision to hasher
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 991b429 - Browse repository at this point
Copy the full SHA 991b429View commit details -
server: Store real rv range in hasher
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 1ff5992 - Browse repository at this point
Copy the full SHA 1ff5992View commit details -
server: Return revision range that hash was calcualted for
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for a3f609d - Browse repository at this point
Copy the full SHA a3f609dView commit details -
server: Remove duplicated compaction revision
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 6311072 - Browse repository at this point
Copy the full SHA 6311072View commit details -
server: Extract hasher to separate interface
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 7358362 - Browse repository at this point
Copy the full SHA 7358362View commit details -
server: Cache compaction hash for HashByRev API
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 1200b10 - Browse repository at this point
Copy the full SHA 1200b10View commit details -
tests: Add integration tests for compact hash
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for d3db3bc - Browse repository at this point
Copy the full SHA d3db3bcView commit details -
tests: Add tests for HashByRev HTTP API
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 00bc8da - Browse repository at this point
Copy the full SHA 00bc8daView commit details -
tests: Unify TestCompactionHash and extend it to also Delete keys and…
… Defrag Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 037a898 - Browse repository at this point
Copy the full SHA 037a898View commit details -
tests: Rename corruptHash to CorruptBBolt
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for a8020a0 - Browse repository at this point
Copy the full SHA a8020a0View commit details -
tests: Move CorruptBBolt to testutil
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 8d4ca10 - Browse repository at this point
Copy the full SHA 8d4ca10View commit details -
server: Refactor compaction checker
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 4a75e3d - Browse repository at this point
Copy the full SHA 4a75e3dView commit details -
tests: Cover periodic check in tests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for a56ec0b - Browse repository at this point
Copy the full SHA a56ec0bView commit details -
server: Implement compaction hash checking
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 21fb173 - Browse repository at this point
Copy the full SHA 21fb173View commit details -
server: Make corrtuption check optional and period configurable
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 5660bf0 - Browse repository at this point
Copy the full SHA 5660bf0View commit details -
tests: Fix member id in CORRUPT alarm
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Configuration menu - View commit details
-
Copy full SHA for 2ddb9e0 - Browse repository at this point
Copy the full SHA 2ddb9e0View commit details