Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23659

Provide useful message when wiredTigerJournalCompressor is changed

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2.9, 3.3.8
    • Affects Version/s: None
    • Component/s: WiredTiger
    • Labels:
    • Fully Compatible

      While it's possible to change wiredTigerCollectionBlockCompressor gracefully, starting with a different wiredTigerJournalCompressor requires the journal be deleted.
      Failure to cleanup the journal directory before the switch yields the following error:

      2016-04-12T10:47:23.582-0700 I -        [initandlisten] Detected data files in . created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2016-04-12T10:47:23.582-0700 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=9G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
      2016-04-12T10:47:23.844-0700 E STORAGE  [initandlisten] WiredTiger (0) [1460483243:844133][24208:0x7fff785b7300], txn-recover: wt_snappy_decompress: stored size exceeds buffer size
      2016-04-12T10:47:23.844-0700 E STORAGE  [initandlisten] WiredTiger (-31802) [1460483243:844243][24208:0x7fff785b7300], txn-recover: Recovery failed: WT_ERROR: non-specific WiredTiger error
      2016-04-12T10:47:23.867-0700 I -        [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error
      2016-04-12T10:47:23.867-0700 I STORAGE  [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating
      2016-04-12T10:47:23.867-0700 I CONTROL  [initandlisten] shutting down with code:100

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            achille.brighton Achille Brighton
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: