working through some issues with snapshotting in the presence of a substantial (millions-of) hfiles.
log messages about the state of creating or restoring span multiple hundreds of MB of logs, so more context in individual lines would make it easier to orient myself.
RestoreSnapshotHelper has a few different stanzas that essentially all say "I'm creating an HFileLink for this thing". e.g.
If would be helpful if
1) these stanzas offered something in the logged text to tell them apart (I think the coincidentally differ in log level, but that's esoteric and easy to lose over time)
2) it would be nice if we included the snapshot name in the log message so I can more easily pull out all log lines related to the snapshot
3) these stanzas indicated "progress" of sorts by giving how many storefiles are present and where we are in that list.
sort of like this bit we log when creating the snapshot manifest:
And speaking of the above bit in SnapshotManifest, it would be nice if it included the name of the snapshot in the log message so it's easier to pull out all log lines related to the snapshot.