The code in SnapshotManager::getLogSegmentForVersion can be improved and error messages can be better.
SnapshotManager::getLogSegmentForVersion
See tests in SnapshotManagerSuite for error messages that can be improved.
SnapshotManagerSuite