Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5934

Stop validating timestamps read from disk in 4.2

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.2.6
    • Affects Version/s: None
    • Component/s: None
    • 5
    • Storage Engines 2020-04-06, Storage - Ra 2020-04-20

      When reading a database created by MongoDB 4.4, it can contain timestamps embedded in the data format. We have assertions and verification in the code checking assumptions about how those timestamps work. We should remove that verification/validation from 4.2 - as 4.2 doesn't use timestamps in the same way as 4.4, so keeping the assertions consistent between the two versions leads to upgrade/downgrade pain for users with little incremental safety benefit.

      WiredTiger error (-31802) [1585265729:649576][11084:0x7f5196e43700], file:index-34-7471842681911650479.wt, WT_SESSION.open_cursor: __wt_btree_tree_open, 622: unable to read root page from file:index-34-7471842681911650479.wt: WT_ERROR: non-specific WiredTiger error Raw: [1585265729:649576][11084:0x7f5196e43700], file:index-34-7471842681911650479.wt, WT_SESSION.open_cursor: __wt_btree_tree_open, 622: unable to read root page from file:index-34-7471842681911650479.wt: WT_ERROR: non-specific WiredTiger error
      Failed to open a WiredTiger cursor. Reason: UnknownError: -31802: WT_ERROR: non-specific WiredTiger error, uri: table:index-34-7471842681911650479, config: overwrite=false
      This may be due to data corruption. Please read the documentation for starting MongoDB with --repair here: http://dochub.mongodb.org/core/repair
      Fatal Assertion 50882 at src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp 101
      
      

        1. wt5934_2.diff
          5 kB
        2. wt5934.diff
          3 kB

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            vamsi.krishna@mongodb.com Vamsi Boyapati
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: