mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 11:15:50 +08:00
make snap v2 the default version
This commit is contained in:
parent
ddd4523816
commit
30a90e546d
@ -2170,9 +2170,7 @@ ACTOR Future<bool> exclude( Database db, std::vector<StringRef> tokens, Referenc
|
||||
}
|
||||
|
||||
ACTOR Future<bool> createSnapshot(Database db, StringRef snapCmd) {
|
||||
// FIXME: default version for snapshots are still 1, once version 2 is stable - it will be made the default
|
||||
// and version 1 may be deprecated
|
||||
wait(makeInterruptable(mgmtSnapCreate(db, snapCmd, 1 /* version */)));
|
||||
wait(makeInterruptable(mgmtSnapCreate(db, snapCmd, 2 /* version */)));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user