Removing rollbacks instants from timeline for restore operation (#4518)
This commit is contained in:
committed by
GitHub
parent
e9a7f49f55
commit
56f93f4ebd
@@ -577,6 +577,8 @@ public class TestHoodieClientOnCopyOnWriteStorage extends HoodieClientTestBase {
|
||||
client = getHoodieWriteClient(newConfig);
|
||||
client.restoreToInstant("004");
|
||||
|
||||
assertFalse(metaClient.reloadActiveTimeline().getRollbackTimeline().lastInstant().isPresent());
|
||||
|
||||
// Check the entire dataset has all records still
|
||||
String[] fullPartitionPaths = new String[dataGen.getPartitionPaths().length];
|
||||
for (int i = 0; i < fullPartitionPaths.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user