Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Backup Version V1 #1082

Merged
merged 7 commits into from Apr 6, 2024
Merged

Conversation

mattl-netflix
Copy link
Contributor

The commits are meant to be reviewed in order to keep the process tractable.

Remove unused CLI tools.
Remove tooling to back up commit logs. It is no longer supported.
Remove IFileSystemContext. It is redundant.
Remove BackupService
Remove BackupVersion.
Remove GCS-specific code. It is no longer in use.
Remove remaining vestiges of backup v1.

.findFirst();
Assert.assertTrue(backupMetadata.isPresent());
Assert.assertNull(backupMetadata.get().getLastValidated());
backupStatusMgr.finish(getBackupMetaData(start, Status.FINISHED));
}

@Test
public void verifyBackupVersion1DateRange() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be good if we can update the function name(remove version1) or remove this test completely as v2 test is already present in verifyBackupVersion2DateRange

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. The test is redundant and should be removed. I will do that in a follow-up.

@@ -212,11 +212,6 @@ public String getMaxDirectMemory() {
(PRIAM_PRE + ".direct.memory.size.") + instanceInfo.getInstanceType(), "50G");
}

@Override
public String getBackupCronExpression() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was only referenced in SnapshotBackup which was removed in this cleanup. The modern equivalent is getSnapshotMetaServiceCronExpression() used in SnapshotMetaTask.

@mattl-netflix mattl-netflix merged commit f09bb8a into 3.11 Apr 6, 2024
1 check passed
@mattl-netflix mattl-netflix deleted the feature/remove_backup_v1_split branch April 6, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants