Botond Dénes
46d6145b37
sstables/sstable: validate_checksums(): force-check EOF
...
EOF is only guarateed to be set if one tried to read past the end of the
file. So when checking for EOF, also try to read some more. This
should force the EOF flag into a correct value. We can then check that
the read yielded 0 bytes.
This should ensure that `validate_checksums()` will not falsely declare
the validation to have failed.
Fixes : #11190
Closes #12696
(cherry picked from commit 693c22595a )
2023-03-09 12:31:00 +02:00
..
2022-09-18 13:27:46 +03:00
2022-09-29 23:42:01 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2023-02-05 20:06:31 +02:00
2023-02-05 20:06:31 +02:00
2022-05-07 13:04:16 +02:00
2022-02-24 19:44:29 +03:00
2022-07-08 12:59:14 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-06-21 20:08:01 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-12-21 13:42:54 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-03-10 07:03:49 +02:00
2022-05-13 07:11:58 +02:00
2022-03-25 16:19:26 +02:00
2022-05-11 14:46:30 +02:00
2022-05-25 09:27:04 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-06-12 20:05:28 +03:00
2022-01-18 12:15:18 +01:00
2022-03-25 16:19:26 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-07-19 12:14:41 +03:00
2022-07-19 12:14:41 +03:00
2022-04-28 14:12:24 +03:00
2022-04-28 14:12:24 +03:00
2022-06-21 11:58:13 +03:00
2022-07-27 14:48:28 +03:00
2022-07-27 14:48:28 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-16 18:21:24 +02:00
2022-01-18 12:15:18 +01:00
2022-03-10 07:03:49 +02:00
2022-05-24 13:32:35 +03:00
2022-05-11 14:46:30 +02:00
2023-03-09 12:31:00 +02:00
2022-09-18 13:27:46 +03:00
2022-05-24 13:32:39 +03:00
2022-06-02 11:21:05 +03:00
2022-02-16 18:21:24 +02:00
2022-03-10 07:03:49 +02:00
2022-03-16 12:31:50 +03:00
2022-05-31 15:26:03 -03:00