*
* @author Thomas Pantelis
*/
-class ShardSnapshotCohort implements RaftActorSnapshotCohort {
+final class ShardSnapshotCohort implements RaftActorSnapshotCohort {
private static final FrontendType SNAPSHOT_APPLY = FrontendType.forName("snapshot-apply");
private final ActorRef snapshotActor;
@SuppressWarnings("checkstyle:IllegalCatch")
public void applySnapshot(final Snapshot.State snapshotState) {
if (!(snapshotState instanceof ShardSnapshotState)) {
- log.debug("{}: applySnapshot ignoring snapshot: {}", snapshotState);
+ log.debug("{}: applySnapshot ignoring snapshot: {}", logId, snapshotState);
}
final ShardDataTreeSnapshot snapshot = ((ShardSnapshotState)snapshotState).getSnapshot();