cojen / TuplDB

TuplDB is a high-performance, concurrent, transactional, scalable, low-level embedded database.
GNU Affero General Public License v3.0
117 stars 23 forks source link

Database verfication should examine checksums #123

Closed broneill closed 4 months ago

broneill commented 11 months ago

Currently the Database.verify method only examines data structures, but it's not guaranteed to examine all pages. If checksums are enabled, then a separate thread should examine all pages too.

broneill commented 11 months ago

The only major thing that the verify method doesn't currently examine is fragmented values. Simply reading over fragmented values should be sufficient to ensure that almost all pages are examined.

broneill commented 4 months ago

Fixed: https://github.com/cojen/Tupl/commit/1128ecee0bb6e91873a632b4330c1cadcbca017a