Commit Graph

14811 Commits

Author SHA1 Message Date
Chaoguang Lin 26569273b0 Update safeThreadFutureToFuture and remove the unnecessary wrapper 2021-04-22 19:34:49 -07:00
Chaoguang Lin f0a236c544 Merge branch 'master' of github.com:apple/foundationdb into refactor-fdbcli 2021-04-21 15:36:11 -07:00
Chaoguang Lin c535f93a2a Add documentation for consistencycheck special key 2021-04-21 14:13:47 -07:00
Chaoguang Lin eef144bd38 Fix comment typo 2021-04-21 14:13:00 -07:00
A.J. Beamon b9d8302ac7
Merge pull request #4540 from dlambrig/batch
Log latency metrics for batch GRV requests
2021-04-21 10:23:37 -07:00
Steve Atherton a8b673b1e1
Merge pull request #4665 from RenxuanW/backup-agent
Report the current version in the restore status.
2021-04-21 08:45:06 -07:00
Dan Lambright 715c98572c bit more documentation 2021-04-21 10:48:35 -04:00
RenxuanW ba60f18ebf Merge remote-tracking branch 'upstream/master' into backup-agent 2021-04-20 22:54:47 -07:00
Evan Tschannen 58d1a6f9c0
Merge pull request #4595 from sfc-gh-ljoswiak/fixes/backup-delete
Add option to clear destination range before backup
2021-04-20 14:50:54 -07:00
Lukas Joswiak 66d88e5f12
Merge branch 'master' into fixes/backup-delete 2021-04-20 14:49:26 -07:00
Lukas Joswiak 12e9e59c1b Remove redundant clear range before backup 2021-04-20 14:03:44 -07:00
Lukas Joswiak 8b2a72fea2 Add option to clear destination range before backup 2021-04-20 12:24:17 -07:00
Trevor Clinkenbeard 81fbe9ceaa
Merge pull request #4684 from sfc-gh-satherton/restore-range-fixes
Restore target range handling bug fixes
2021-04-20 11:57:13 -07:00
Steve Atherton 9ee2cd7bcb Renamed prefixesAllowed again for clarity. 2021-04-20 11:54:40 -07:00
Evan Tschannen 83097c92cf
Merge pull request #4602 from sfc-gh-ljoswiak/fixes/applied-version
Fix early cutoff when DR copies logs
2021-04-20 11:10:30 -07:00
Evan Tschannen 4dead1dec0
Merge pull request #4656 from sfc-gh-satherton/diskqueue-knob-int-overflow
DiskQueue would only replace file, not truncate, due to int overflow in knob default value.
2021-04-20 10:07:01 -07:00
Lukas Joswiak 1c4f72c98a Add explanation comment 2021-04-20 09:35:40 -07:00
Lukas Joswiak 92d11cb09e Add idleness comment 2021-04-20 09:35:40 -07:00
Lukas Joswiak 38d780e847 Add buggify 2021-04-20 09:35:40 -07:00
Lukas Joswiak 3b95559419 Fix indexes 2021-04-20 09:35:40 -07:00
Lukas Joswiak 9baa837b2d Compare range contents instead of size 2021-04-20 09:35:40 -07:00
Lukas Joswiak 5d0d837268 Fix version cutoff 2021-04-20 09:35:40 -07:00
Markus Pilman 16cb5c46d1
Merge pull request #4690 from ammolitor/master
add redhat-lsb-core to build images -- cpack uses lsb_release
2021-04-20 10:33:32 -06:00
Aaron Molitor b8865673c3 add redhat-lsb-core to build images -- cpack uses lsb_release 2021-04-20 09:32:38 -05:00
Markus Pilman 5e6a8b0224
Merge pull request #4688 from oleg68/master-client-tests-typo
Fixed Typo in the Client Testing document
2021-04-20 07:26:54 -06:00
Oleg Samarin f634165b79 Fixed a typo in the Client Testing documentation 2021-04-20 14:05:21 +03: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
Steve Atherton 3f54a4a6dc Throw an error if an empty range set is passed to restore(). 2021-04-19 21:52:38 -07:00
Steve Atherton 3c7dc1a59e Backup correctness workload bug fix. Sometimes the restore target ranges are empty, which causes a test timeout. Renamed some variables for clarity. 2021-04-19 21:36:47 -07:00
Meng Xu 3974d6337d
Merge pull request #4502 from sfc-gh-jfu/jfu-knob-guard-master
Changed code flow to fix loophole that avoided the knob guarding higher protocol versions and also added new restarting tests
2021-04-19 17:06:16 -07:00
Steve Atherton c2c9ca4362 Assert was incorrect. Restore ranges must begin with the restore prefix to remove. 2021-04-19 17:01:20 -07:00
Steve Atherton 26b041f12e Merge branch 'master' of https://github.com/apple/foundationdb into diskqueue-knob-int-overflow 2021-04-19 14:37:20 -07:00
RenxuanW 491fc6d69e Merge remote-tracking branch 'upstream/master' into backup-agent 2021-04-19 14:34:27 -07:00
RenxuanW ab4c5ff90e For better readability 2021-04-19 14:06:50 -07:00
Markus Pilman 431728e268
Merge pull request #4672 from sfc-gh-anoyes/anoyes/fix-canReplyWith
Fix multiple (inline) definitions of canReplyWith
2021-04-19 14:58:51 -06:00
RenxuanW 03c031a09d Update getCurrentVersion_impl
- If the restore is in the running state, then the current version is the getApplyBeginVersion()
- If the restore is in the completed state, the current version is the restore target version which comes from the restoreVersion() property.
- If the restore is in any other state, the current version can be reported as -1 as you have done.
2021-04-19 13:43:51 -07:00
Markus Pilman 863e262302
Merge pull request #4581 from sfc-gh-anoyes/anoyes/improve-ryw-disable-doc
Document that ryw disable can only be set at beginning of transaction
2021-04-19 14:38:06 -06:00
Andrew Noyes 7182289abb Use anonymous namespace 2021-04-19 20:32:49 +00:00
Evan Tschannen a43897c74c
Merge pull request #4653 from sfc-gh-satherton/correctness-fix
Correctness fix:  Prevent writes from being too slow in simulation
2021-04-16 21:57:03 -07:00
Andrew Noyes 31a7eac2b5
Merge pull request #4676 from sfc-gh-ljoswiak/fixes/version-history-initialization
Fix uninitialized field in global configuration
2021-04-16 16:17:32 -07:00
Steve Atherton db610355cf Keep simulated disk write delay high until speedUp is set. 2021-04-16 14:19:37 -07:00
Andrew Noyes 50c63d7db3
Merge pull request #4675 from sfc-gh-ajbeamon/remove-python-get-server-protocol
Remove get_server_protocol from the Python bindings
2021-04-16 14:11:12 -07:00
Lukas Joswiak bb5539bb70 Initialize version field 2021-04-16 14:08:36 -07:00
A.J. Beamon 4a1a55f270 Remove fdb_get_server_protocol from the Python bindings. This C function this was using recently moved and changed signature, so it no longer works in Python. 2021-04-16 13:48:44 -07:00
Vishesh Yadav e7d4a452e4 docker: Load custom bashrc if available
This will check if there is a `.bashrc.local` avialable in the synced directory,
and load it.

- This is useful so that any changes usrs make to our bashrc in Okteto containers,
doesn't get lost between re-deployement of containers.
- Can also used to automate setting up environment, e.g. copy various dotfiles
etc from the synced directory to $HOME folder during first run.
2021-04-16 12:40:46 -05:00
Andrew Noyes b75e25e012 Fix multiple (inline) definitions of canReplyWith
canReplyWith was declared inline in two translation units with different
definitions. When building with clang, this resulted in
storageserver.actor.cpp using the definition from
StorageCache.actor.cpp. Fix that by giving both symbols internal
linkage.
2021-04-16 17:39:56 +00:00
Jon Fu badaa6222b Merge branch 'master' of github.com:apple/foundationdb into jfu-knob-guard-master 2021-04-16 12:31:07 -04:00
Jingyu Zhou 6571e9e78c
Merge pull request #4670 from vishesh/task/contributing.md
doc: Link FDB Commit Process doc in CONTRIBUTING.md
2021-04-15 17:38:58 -07:00
RenxuanW 4bf7218e8f
Merge pull request #4635 from RenxuanW/priority_logging
Log a warning when remote dc is disabled (priority < 0)
2021-04-15 17:00:41 -07:00
RenxuanW 80ec4b1acc Trigger Build 2021-04-15 16:57:04 -07:00