Commit Graph

11868 Commits

Author SHA1 Message Date
Trevor Clinkenbeard 602b0f9dea
Merge branch 'master' into vectorref-emplace-back 2020-07-28 17:17:11 -07:00
Meng Xu 35ebdec9d2
Merge pull request #3558 from sfc-gh-anoyes/anoyes/remove-redundant-cast
Remove redundant cast
2020-07-28 17:01:48 -07:00
Meng Xu 2b8aa296bb
Merge pull request #3482 from sfc-gh-tclinkenbeard/support-downgrades
Support and test downgrades
2020-07-28 17:00:54 -07:00
Meng Xu 6b28687c65
Merge pull request #3570 from sfc-gh-anoyes/anoyes/enable-Wall-Wextra
Re-enable -Wall -Wextra for clang
2020-07-28 14:35:38 -07:00
Chaoguang Lin 2fc3bfc3bd Remove \xff\xff/reboot_worker from special keys 2020-07-28 13:45:24 -07:00
Chaoguang Lin 27a7a28fc5 Change to ryw in checkForExcludingServers 2020-07-28 13:40:14 -07:00
Chaoguang Lin 70aecfa2d6 refine ManagementCommandsOptionsImpl::clear(..., range) 2020-07-28 13:32:31 -07:00
Chaoguang Lin 419a187ee8 reinitilize specialKeySpaceWriteMap in resertRyow() 2020-07-28 13:20:13 -07:00
Chaoguang Lin a219ea853a using const string& 2020-07-28 12:05:43 -07:00
Chaoguang Lin 8a5fde1b85 change SPECIAL_KEY_SPACE_CHANGE_CONFIGURATION to SPECIAL_KEY_SPACE_ENABLE_WRITES 2020-07-28 12:03:00 -07:00
Chaoguang Lin 3ba940a63d Change json string to snake_case 2020-07-28 11:42:03 -07:00
Chaoguang Lin 726eb18119 Fix typo 2020-07-28 11:39:29 -07:00
Andrew Noyes d2cf700bd4 Fix compiler warnings 2020-07-28 18:30:26 +00:00
Daniel Smith f4c54e5ee6 use std::atomic for simple counters 2020-07-28 17:51:21 +00:00
Andrew Noyes 1d22a21510 Revert "temporarily disable compiler warnings"
This reverts commit 29142fa382.
2020-07-28 17:19:52 +00:00
Balachandar Namasivayam 9c569c6ecf
Merge pull request #3569 from xumengpanda/mengxu/fr-fix-frtool-PR
FastRestoreTool: Fix --dest_cluster_file option
2020-07-28 09:56:00 -07:00
Steve Atherton f065cbbd2d
Merge pull request #3534 from sfc-gh-xwang/master
Throttling related workload improvements
2020-07-28 00:40:06 -07:00
Meng Xu e232f805ee FastRestoreTool: Consume restoreClusterFileDest as fdbrestore does 2020-07-27 22:16:35 -07:00
Meng Xu 1a34f5c20e FastRestoreTool: Fix option list 2020-07-27 21:40:20 -07:00
Chaoguang Lin 454ac21daf Add tests for errors introduced by writes module, and shema check for error message 2020-07-27 17:40:55 -07:00
Chaoguang Lin 52178f9eae Add json schema for the management api error message in special key space 2020-07-27 17:37:19 -07:00
Jingyu Zhou 417183067b
Merge pull request #3568 from sfc-gh-anoyes/anoyes/small-vector-ref-memory-error
Fix memory error in SmallVectorRef
2020-07-27 14:45:53 -07:00
Meng Xu ec5783ec5a
Merge pull request #3499 from bnamasivayam/master
Deserialize report_conflicting_keys in 6.3
2020-07-27 14:29:30 -07:00
Markus Pilman c6a2043d53
Merge pull request #3450 from sfc-gh-tclinkenbeard/6.3-use-vector-mutations
Replace VersionUpdateRef with VerUpdateRef
2020-07-27 15:21:47 -06:00
Andrew Noyes 4c17019f37 Fix memory error in SmallVectorRef 2020-07-27 21:11:50 +00:00
Chaoguang Lin 4930b9f8a6 Update comments 2020-07-27 12:36:59 -07:00
Chaoguang Lin a641429d63 Add an enum for implementation type and use for registeration 2020-07-27 12:29:03 -07:00
Evan Tschannen 6b1092be0b
Merge pull request #3567 from etschannen/release-6.3
Changed a few default knob values to improve recovery speeds
2020-07-27 12:10:15 -07:00
Andrew Noyes 29e328cf32 Use addressExcluded to compare exclusions and addresses
Don't convert the exclusion to a NetworkAddress use operator==, since that's problematic for two reasons:

1. The network address of the not-yet-excluded server might compare differently due to flags like private or public
2. The network address of the not-yet-excluded server will never compare equal to a whole-machine exclusion
2020-07-27 18:52:07 +00:00
Andrew Noyes 09cf3e2883 Revert "Use IPAddress instead of NetworkAddress for exclude"
This reverts commit 331ee4dab4.
2020-07-27 18:38:57 +00:00
Evan Tschannen 3f1e51c821
Merge pull request #3543 from dongxinEric/doc/add-explanation-about-accuracy-of-estiamted-range-size-api
Added some explanation about the accuracy about the get estimated ran…
2020-07-27 11:03:17 -07:00
Evan Tschannen c3348be3a0 changed knobs to improve master recovery speeds 2020-07-27 10:59:06 -07:00
Evan Tschannen ee9b3d1a9d do not let a single failed handshake prevent reconnection for 10 seconds 2020-07-27 10:58:30 -07:00
Evan Tschannen e0db748fb3
Merge pull request #3403 from satherton/tls-background-handshake
TLS handshaking in background threads
2020-07-27 10:55:00 -07:00
Evan Tschannen 9b683f8309
Merge pull request #3537 from etschannen/feature-lifetimetoken-fix
A master process would die immediately if dbInfo did not contain the correct cluster controller
2020-07-27 10:53:27 -07:00
Evan Tschannen 937df4f839 Merge branch 'release-6.3' of github.com:apple/foundationdb into feature-lifetimetoken-fix
# Conflicts:
#	documentation/sphinx/source/release-notes/release-notes-630.rst
2020-07-27 10:03:02 -07:00
Andrew Noyes 331ee4dab4 Use IPAddress instead of NetworkAddress for exclude
NetworkAddress has other fields like flags that aren't relevant for
exclude. Network addresses with equal ip addresses not comparing equal
appears to be the cause of #3565
2020-07-27 05:40:14 +00:00
sfc-gh-tclinkenbeard a5cb894e56 Added BenchIterate microbenchmark 2020-07-26 14:27:39 -07:00
sfc-gh-tclinkenbeard 92b2894311 Allow in-place arena construction for MutationRef 2020-07-26 14:27:39 -07:00
sfc-gh-tclinkenbeard 525e51a756 Build benchmark library as external project 2020-07-26 12:09:11 -07:00
sfc-gh-tclinkenbeard 888bae40d0 Initial commit for performance directory
Includes BenchPopulate benchmarks to benchmark the population of a
VectorRef<MutationRef>.
2020-07-26 12:09:11 -07:00
Xin Dong 2ac7df8a18
Merge pull request #3563 from xumengpanda/mengxu/fr-filesize-PR
FastRestore:Add trace for file size and bc progress
2020-07-25 20:08:57 -07:00
Meng Xu 99d8399f4e FastRestore:Add trace for file size and bc progress 2020-07-25 19:12:25 -07:00
Xiaoxi Wang 436b6d823e use hyphen 2020-07-25 22:49:08 +00:00
Meng Xu 9d3b1cc4e4
Merge pull request #3562 from sfc-gh-anoyes/anoyes/memory-error
Fix memory error in report conflicting keys special keys
2020-07-24 21:11:42 -07:00
Evan Tschannen 792eaa2174
Merge pull request #3560 from etschannen/release-6.3
Merge Release 6.2 into Release 6.3
2020-07-24 17:06:15 -07:00
Evan Tschannen cb00879c62
Merge pull request #3561 from satherton/feature-redwood
Redwood pager remapped page cleanup now coalesces writes within a large trailing version window.
2020-07-24 16:56:22 -07:00
Andrew Noyes 57b29fd4cd Fix memory error 2020-07-24 23:31:16 +00:00
Andrew Noyes bc412f39a6 Augment ReportConflictingKeys test to catch memory error 2020-07-24 23:31:00 +00:00
Evan Tschannen 29142fa382 temporarily disable compiler warnings 2020-07-24 12:37:15 -07:00