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

Enhance rollback-to-stable verbose messaging

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.9.0, 4.4.4
    • Component/s: None
    • Labels:
    • Story Points:
      3
    • Sprint:
      Storage - Ra 2021-01-11, Storage - Ra 2021-01-25

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            siddhartha.mahajan Sid Mahajan (Inactive)
            Reporter:
            sue.loverso Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: