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

Enhance rollback-to-stable verbose messaging

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.9.0, 4.4.4
    • Affects Version/s: None
    • Component/s: None
    • 3
    • Storage - Ra 2021-01-11, Storage - Ra 2021-01-25

      I have a few suggestions to enhance the verbose messages for rollback-to-stable. It would be good to get more information about the system during recovery's rollback-to-stable call. I suggest:

      1. At a minimum change the verbose message call in txn_recover.c just before wt_rollback_to_stable to be WT_VERB_RECOVERY | WT_VERB_RTS.
      2. Consider expanding some/all of the verbose message calls in txn_rollback_to_stable.c to also print during recovery. I suggest something like this:
        verb_flags = WT_VERB_RTS;
        if (F_ISSET(conn, WT_CONN_RECOVERING))
            verb_flags |= WT_VERB_RECOVERY;
        ...
        __wt_verbose(session, verb_flags, "verbose message...");
        

      I am not sure how chatty VERB_RTS so I'm not sure how many we want to add in for recovery, but some information would be helpful during recovery.

            Assignee:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: