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

Fixes for wt_btree_immediately_durable needed for in-memory

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.9, 4.0.2, 4.1.2, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Non-NYC 2018-07-16, Storage Engines 2018-07-30

      When running in in-memory mode, logging is turned off. However, rollback_to_stable uses logging knowledge to avoid rolling back tables that should not be, like the oplog and local/private tables. WT uses wt_btree_immediately_durable (returning true) to decide to skip rolling back a btree like the oplog.

      That function only returns true if logging on the database is turned on, and logging on the table is turned on. This function needs updating (as the comment in that function suggests) to support not rolling back the oplog and other local/private tables when database-logging is not enabled.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: