317 Commits

Author SHA1 Message Date
RenxuanW
41ca11c3e5 Implement restoring an inconsistent snapshot as a real feature. 2021-04-22 13:53:37 -07:00
Steve Atherton
75425b5a24
Merge pull request #4620 from RenxuanW/renxuan/first-pr
Control backup's initial snapshot interval via backup cmd argument.
2021-04-19 23:59:02 -07:00
RenxuanW
41104040ad Rename init_snapshot_interval to initial_snapshot_interval. 2021-04-15 15:24:24 -07:00
RenxuanW
a0430536f1 Remove knob BACKUP_INIT_SNAPSHOT_INTERVAL_SEC. 2021-04-14 10:41:41 -07:00
RenxuanW
ebf37594f7 Change initialSnapshotIntervalSeconds from knob to a backup argument. 2021-04-13 19:22:13 -07:00
Jingyu Zhou
cf70575d74 Refactor fdbbackup with BackupTLSConfig 2021-04-08 21:56:02 -07:00
Jingyu Zhou
55ef40864f Add comments for touched functions 2021-03-29 10:09:07 -07:00
Jingyu Zhou
a9d8806828 Use the restored range in the actual restore 2021-03-25 10:07:25 -07:00
Trevor Clinkenbeard
766b9d24d6
Merge branch 'master' into remove-invalid-backup-status-fields 2021-03-14 18:57:03 -07:00
Vishesh Yadav
2cd3f45fd6 Merge remote-tracking branch 'apple/release-6.3' into master-format-final
release-6.3 was recently merged, and there were two PRs which were
merged in between and got those changes in here. Hence, since all the
changes were in, discarded the incoming changes and accepted all
current.
2021-03-10 16:50:44 -08:00
FDB Formatster
df90cc89de apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
sfc-gh-tclinkenbeard
f81d4eb6d3 Remove invalid backup status fields 2021-03-08 15:48:46 -08:00
FDB Formatster
8a8c488ede apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-05 18:13:38 -06:00
Jon Fu
aaee4d1df7 added help messages to fdbbackup and fdbrestore for incremental backup 2021-02-25 16:29:23 -05:00
sfc-gh-tclinkenbeard
089394abeb Only change name of BackupType::DELETE to BackupType::DELETE_BACKUP 2021-01-30 13:34:48 -08:00
sfc-gh-tclinkenbeard
a29c5fb2bc s/BackupType::/BackupType::BACKUP_ 2021-01-29 21:48:27 -08:00
sfc-gh-tclinkenbeard
7558cd8e06 Merge remote-tracking branch 'origin/master' into simplify-global-knobs 2021-01-26 10:00:25 -08:00
Markus Pilman
074531309b
Merge pull request #3769 from sfc-gh-ljoswiak/binary-info
Add CLI argument to print build information
2021-01-26 10:29:57 -07:00
sfc-gh-tclinkenbeard
3e72163374 Fix compile issues 2021-01-21 10:22:48 -08:00
sfc-gh-tclinkenbeard
ad99bf0471 Merge remote-tracking branch 'origin' into misc-changes 2021-01-21 10:03:07 -08:00
Lukas Joswiak
39c6cedf10 Add build flags option to backup binaries 2021-01-19 11:21:21 -08:00
Lukas Joswiak
2c4b5acd28 Add help option back to actions 2021-01-19 10:33:55 -08:00
Lukas Joswiak
d82b61ee0f Update help message for top level options 2021-01-15 17:05:11 -08:00
Lukas Joswiak
1177183819 Copy help option to top level 2021-01-15 17:05:11 -08:00
Lukas Joswiak
14b08e1103 Add top level binary CLI options 2021-01-15 17:05:10 -08:00
sfc-gh-tclinkenbeard
95eaa5e866 Merge remote-tracking branch 'origin/master' into misc-changes 2021-01-13 21:14:36 -08:00
sfc-gh-tclinkenbeard
8ff14878fe Merge remote-tracking branch 'origin/master' into simplify-global-knobs 2021-01-13 14:39:35 -08:00
sfc-gh-tclinkenbeard
e29ed3bf99 Remove createGlobal*Knobs functions 2021-01-13 12:14:04 -08:00
Markus Pilman
2609c3d619
Merge pull request #4072 from sfc-gh-tclinkenbeard/improve-type-safety
Make enums automatically binary serializable
2021-01-12 10:31:34 -07:00
sfc-gh-tclinkenbeard
5b2e88b187 Use structured bindings in for loops 2020-12-27 01:46:20 -04:00
sfc-gh-tclinkenbeard
0740e35621 Use unique_ptr for backup args 2020-12-08 09:09:32 -08:00
Jon Fu
89194a48b9 Enable --incremental usage for fdbbackup on command line 2020-12-01 15:53:20 -05:00
sfc-gh-tclinkenbeard
b1e3478267 Simplified global knobs 2020-11-21 13:27:48 -08:00
sfc-gh-tclinkenbeard
79146d2e31 Improve type-safety of backup.actor.cpp 2020-11-14 22:25:32 -08:00
sfc-gh-tclinkenbeard
4669f837fa Add uses of makeReference 2020-11-07 22:10:18 -08:00
sfc-gh-tclinkenbeard
55e86c1336 Disambiguate between S3BlobStore and other blob stores 2020-10-29 20:42:23 -07:00
Meng Xu
bbc7ce581e Resolve conflicts merging from 6.3 to master 2020-09-25 16:08:31 -07:00
Meng Xu
862336de8f Merge branch 'master' into mengxu/merge-to-master-PR 2020-09-24 17:06:00 -07:00
sfc-gh-tclinkenbeard
d13a9d3c91 Make EBackupState an enum class 2020-09-23 15:14:09 -07:00
Young Liu
60ccaa2ae9 Support finding max restorable version for key ranges when keyspace's max restorable version is unavailable 2020-09-17 17:58:58 -07:00
Young Liu
d4e3e98957 Use new getRestoreSet in RestoreController 2020-09-17 17:56:36 -07:00
Meng Xu
f9a5b727a6 Add comments questions and TODOs 2020-09-14 16:28:01 -07:00
Young Liu
3728ed03dd Resolve comments 2020-09-05 18:55:09 -07:00
Young Liu
e9d1f1c9c8 change formatting 2020-08-31 09:43:11 -07:00
Young Liu
b6c0299d09 Add help message in backup CLI for added options 2020-08-31 09:31:57 -07:00
Young Liu
30e27ba27b Add support for keys in CLI 2020-08-30 00:44:17 -07:00
Young Liu
33aa10b461 Minor optimizations 2020-08-29 20:10:45 -07:00
Young Liu
fd7198d874 Extend backup container interface to support query restorable files set by key ranges 2020-08-29 19:58:07 -07:00
Jon Fu
00c77ba2b4 Added beginVersion cmd line option and addressed code review comments 2020-08-28 14:29:22 -04:00
Jon Fu
0270ee13c8 change targetversion from maxlogend to contiguouslogend. also adjusted test workload and specs 2020-08-28 12:46:34 -04:00