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:
- 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.
- 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.