Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private void init() throws Exception {

// stop the deletion services so that keys can still be read
keyManager.stop();
// preFinalizationChecks();
preFinalizationChecks();
finalizeOMUpgrade();
counter = new AtomicInteger();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
import org.apache.hadoop.ozone.om.helpers.OmKeyInfo;
import org.apache.hadoop.ozone.om.helpers.RepeatedOmKeyInfo;
import org.apache.hadoop.ozone.om.helpers.SnapshotInfo;
import org.apache.hadoop.ozone.om.request.key.OMDirectoriesPurgeRequestWithFSO;
import org.apache.hadoop.ozone.om.request.key.OMKeyPurgeRequest;
import org.apache.hadoop.ozone.om.service.SnapshotDiffCleanupService;
import org.apache.hadoop.ozone.om.snapshot.SnapshotDiffObject;
import org.apache.hadoop.ozone.om.helpers.SnapshotDiffJob;
Expand Down Expand Up @@ -125,7 +127,7 @@ public final class OmSnapshotManager implements AutoCloseable {
* | fromSnapshotId-toSnapshotId | SnapshotDiffJob |
* |------------------------------------------------|
*/
private static final String SNAP_DIFF_JOB_TABLE_NAME =
public static final String SNAP_DIFF_JOB_TABLE_NAME =
"snap-diff-job-table";

/**
Expand All @@ -137,7 +139,7 @@ public final class OmSnapshotManager implements AutoCloseable {
* | jobId-index | DiffReportEntry |
* |--------------------------------|
*/
private static final String SNAP_DIFF_REPORT_TABLE_NAME =
public static final String SNAP_DIFF_REPORT_TABLE_NAME =
"snap-diff-report-table";

/**
Expand Down Expand Up @@ -359,7 +361,7 @@ public OmSnapshot load(@Nonnull String snapshotTableKey)
};
}

private CodecRegistry createCodecRegistryForSnapDiff() {
private static CodecRegistry createCodecRegistryForSnapDiff() {
final CodecRegistry.Builder registry = CodecRegistry.newBuilder();
// DiffReportEntry codec for Diff Report.
registry.addCodec(SnapshotDiffReportOzone.DiffReportEntry.class,
Expand Down
Loading