mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 09:00:35 +00:00
The commitlog in the tests with big mutations were corrupted by overwriting 10 chunks of 1KB with random data, which could not be enough due to randomness and the big size of the commitlog (~65MB). - change `corrupt_file` to overwrite a based on a percentage of the file's size instead of fixed number of chunks - fix typos - cleanup comments for clarity Closes: #25627 Closes scylladb/scylladb#25979 * github.com:scylladb/scylladb: test: cleanup big mutation commitlog tests test: fix test_one_big_mutation_corrupted_on_startup