sfc-gh-tclinkenbeard
91930b8040
Remove getMinReplicasRemaining PromiseStream.
...
Instead, in order to enforce the maximum fault tolerance for snapshots,
update getStorageWorkers to return the number of unavailable storage
servers (instead of throwing an error when unavailable storage servers
exist).
2022-04-07 23:23:23 -07:00
sfc-gh-tclinkenbeard
70f378bacc
Restrict write access to getUnhealthyRelocationCount
2022-04-03 23:47:54 -07:00
sfc-gh-tclinkenbeard
33fb6ab983
Prevent coordFaultTolerance from dropping below 0
2022-04-03 23:37:42 -07:00
sfc-gh-tclinkenbeard
4f61c86b69
Add MAX_COORDINATOR_SNAPSHOT_FAULT_TOLERANCE knob
2022-04-03 23:28:57 -07:00
sfc-gh-tclinkenbeard
253db642be
Add MAX_SNAPSHOT_FAULT_TOLERANCE knob
2022-04-03 22:31:45 -07:00
Andrew Noyes
1b919f52e9
Combine vector_like_traits::{insert,reserve} ( #6689 )
...
* Combine vector_like_traits::{insert,reserve}
and explain semantics better. This should make it more clear what
implementers need to do when implementing the vector_like_traits
concept.
* Update std::unordered_set vector_like_traits impl
2022-03-30 16:29:35 -07:00
Steve Atherton
1d90f17c20
Merge pull request #6721 from sfc-gh-satherton/threadmulticallback-refactor
...
Remove unordered_map of pointers from ThreadMultiCallback
2022-03-30 14:51:51 -07:00
Andrew Noyes
88a439e156
Fix typo from pull request #6698 ( #6729 )
2022-03-30 13:40:57 -07:00
Steve Atherton
75247affa3
Renamed member for better readability.
2022-03-30 13:39:33 -07:00
Steve Atherton
5d74e4d091
Added comments to explain some invariants with ThreadMultiCallback and ThreadCallback and how they are enforced.
2022-03-30 12:38:57 -07:00
Steve Atherton
637a6f654b
Merge commit 'fc68cdf45f194d198beb8848c49e3081eff6c396' into threadmulticallback-refactor
...
# Conflicts:
# fdbclient/BackupAgent.actor.h
2022-03-30 12:27:03 -07:00
A.J. Beamon
fc68cdf45f
Merge pull request #6693 from sfc-gh-ajbeamon/python-tenant-management-module
...
Move Python tenant management to its own module
2022-03-30 12:03:08 -07:00
Steve Atherton
e6457b1656
A few changes for clarity / readability.
2022-03-30 11:31:46 -07:00
A.J. Beamon
16cc74e910
Remove documenation for Database.delete_tenant.
2022-03-30 11:01:54 -07:00
Xiaoxi Wang
e2c66de28f
Merge pull request #6722 from sfc-gh-satherton/fix-backup-backward-compatibility
...
Fixed Codec<Reference<IBackupContainer>> backward compatibility bug from #6705
2022-03-30 08:38:48 -07:00
Steve Atherton
c5995f2e27
Can't enforce size limit or downgrades from future versions could break.
2022-03-29 23:53:45 -07:00
Steve Atherton
bf505ed816
Simplify conditional.
...
Co-authored-by: Renxuan Wang <renxuan@apple.com>
2022-03-29 23:44:41 -07:00
Steve Atherton
a1eca85b66
Simplify conditional.
...
Co-authored-by: Renxuan Wang <renxuan@apple.com>
2022-03-29 23:43:07 -07:00
Steve Atherton
b50886b10a
Fix size check
...
Co-authored-by: Renxuan Wang <renxuan@apple.com>
2022-03-29 23:42:25 -07:00
Steve Atherton
c00ae2fe85
Fixed Codec<Reference<IBackupContainer>> backward compatibility bug recently introduced.
2022-03-29 23:11:15 -07:00
Steve Atherton
5a0274db65
Fixed Codec<Reference<IBackupContainer>> backward compatibility bug recently introduced.
2022-03-29 23:03:24 -07:00
Steve Atherton
01facc8dfa
Refactored callback tracking in ThreadCallback and ThreadMultiCallback to not use an unordered_map of pointers to prevent it from falsely triggering the DEBUG_DETERMINISM check, plus it is lower overhead, saving about 6% CPU in the AbortableSingleAssignmentVar unit test.
2022-03-29 21:13:13 -07:00
He Liu
210726a2db
Merge pull request #6712 from liquid-helium/rename-rocks-engine
...
rename ssd-rocksdb-experimental as ssd-rocksdb-v1.
2022-03-29 19:02:31 -07:00
He Liu
ca4bfb55d6
Merge branch 'main' of https://github.com/apple/foundationdb into rename-rocks-engine
2022-03-29 16:24:50 -07:00
Xiaoxi Wang
e644c6da49
Merge pull request #6716 from sfc-gh-xwang/memory-test-ide
...
fix cmake error after adding memory test when OPEN_FOR_IDE=ON
2022-03-29 14:23:16 -07:00
A.J. Beamon
8a68781150
Merge pull request #6711 from sfc-gh-anoyes/anoyes/tenant-test-fixes
...
Fix a few memory issues found by ASAN
2022-03-29 13:43:35 -07:00
Josh Slocum
7fc6dfa6c5
Adding useful debugging trace events
2022-03-29 14:48:28 -05:00
Andrew Noyes
d727e7648e
Fix a few memory issues found by ASAN
2022-03-29 12:39:12 -07:00
Xiaoxi Wang
bc3e5cdaa1
fix cmake error when OPEN_FOR_IDE=ON
2022-03-29 12:02:56 -07:00
Jingyu Zhou
da0673ccce
Merge pull request #6705 from RenxuanW/another
...
Add proxy option to backup and restore params.
2022-03-29 11:36:13 -07:00
He Liu
dd15489605
rename ssd-rocksdb-experimental as ssd-rocksdb-v1.
2022-03-29 10:53:38 -07:00
Renxuan Wang
e1775627ab
Add a check on proxy format.
2022-03-29 10:17:14 -07:00
akashhansda
be0f0ce903
Update README.md
...
Use https
2022-03-29 09:16:02 -07:00
Josh Slocum
61474d5d54
Future-proof blob granules with full file size
2022-03-29 08:06:07 -05:00
Josh Slocum
2f8e9d9de0
misc bg fixes
2022-03-29 08:05:52 -05:00
Renxuan Wang
0a332ee1c1
Add proxy option to backup and restore params.
2022-03-28 17:10:49 -07:00
Trevor Clinkenbeard
ad98d64799
Merge pull request #6473 from sfc-gh-tclinkenbeard/change-data-hall
...
Test renaming data hall on restart
2022-03-28 16:39:43 -07:00
Ata E Husain Bohra
643c0004c7
FDB Encryption data at-rest design documentation ( #6629 )
...
* FDB Encryption data at-rest design documentation
Patch details FDB Encryption data at-rest design documentation
2022-03-28 16:37:00 -07:00
Steve Atherton
f0e9eeaa51
Merge pull request #6670 from sfc-gh-satherton/aggressive-storage-migration
...
Fix aggressive storage migration mode to behave as documented
2022-03-28 15:06:02 -07:00
sfc-gh-tclinkenbeard
f7f4d0247e
Merge remote-tracking branch 'origin/main' into change-data-hall
2022-03-28 14:43:54 -07:00
Andrew Noyes
bbfaddc963
Don't instrument fdbmonitor with thread sanitizer ( #6698 )
...
We don't compile fdbmonitor with thread sanitizer instrumentation, since this
appears to change its behavior (it no longer seems to restart killed
processes). fdbmonitor is single-threaded anyway.
2022-03-28 14:06:51 -07:00
Josh Slocum
721c64b698
Adding Blob Granule Client C Unit Tests
2022-03-28 15:42:33 -05:00
Chaoguang Lin
fd5734c39e
Fix the case where we access the memory after cleaning
2022-03-28 13:35:42 -07:00
Jingyu Zhou
4de05a8a8d
Merge pull request #6692 from sfc-gh-tclinkenbeard/fix-tutorial-typo
...
Fix typo in SimpleKeyValueStoreInterface class name
2022-03-28 13:33:34 -07:00
A.J. Beamon
4d277fe19a
Fix typo
2022-03-28 13:06:17 -07:00
Andrew Noyes
d58777351b
Enforce comment with static assert ( #6699 )
2022-03-28 12:36:52 -07:00
A.J. Beamon
3cf0ea5950
Merge pull request #6697 from sfc-gh-ajbeamon/fix-tenant-map-range-read-bug
...
Fix bug in tenant map range reads when the end key is outside of the tenant map range
2022-03-28 10:55:33 -07:00
Steve Atherton
8cf40f86e6
Merge commit '478ff1eb76bc88201b6803b8b8fb5ad9d0bcc040' into aggressive-storage-migration
2022-03-28 10:10:32 -07:00
Steve Atherton
31812d7ad3
Fix aggressive storage migration mode to behave as documented and migrates all storages at once.
2022-03-28 09:22:24 -07:00
sfc-gh-tclinkenbeard
77786f4fc6
Merge remote-tracking branch 'origin/main' into change-data-hall
2022-03-27 12:44:05 -07:00