Commit Graph

4798 Commits

Author SHA1 Message Date
Alex Miller e7ad39246c
Fix typo 2019-03-29 20:16:26 -07:00
Evan Tschannen a44ffd851e fix: the shared tlog could fail to update a stopped tlog’s queueCommitVersion to version if a second tlog registered before it could issue the first commit for the tlog 2019-03-29 20:11:30 -07:00
Evan Tschannen 7ccd6e782b
Merge pull request #1378 from etschannen/master
Merge 6.1 into master
2019-03-28 18:02:26 -07:00
Evan Tschannen d882c060bf Merge commit '5dd6396eed0de0dfea6cf9eecc307995eff5cedc' 2019-03-28 18:00:55 -07:00
Evan Tschannen 5dd6396eed
Merge pull request #1375 from etschannen/release-6.1
change the IPv6 hash function to be more efficient
2019-03-28 17:58:54 -07:00
Evan Tschannen aa368c08a2 changed NetworkAddress hash function to use more bytes from the IP address 2019-03-28 17:47:13 -07:00
Evan Tschannen a30e77b24e
Merge pull request #1377 from bnamasivayam/release-6.1
Multi-test processes waits until a timeout if any of the tester proce…
2019-03-28 17:46:17 -07:00
Balachandar Namasivayam 0bbdc15f71 Multi-test processes waits until a timeout if any of the tester processes restarts. Use getReplyUnlessFailedFor instead of getReply to detect the restarts and fail quickly instead of waiting for a timeout which is usually large. 2019-03-28 17:05:30 -07:00
Evan Tschannen 80ecb12190 change the IPv6 hash function to be more efficient 2019-03-28 14:07:46 -07:00
A.J. Beamon a9fd074042
Merge pull request #1374 from etschannen/release-6.1
renamed BinaryWriter.toStringRef() to .toValue()
2019-03-28 12:46:44 -07:00
Evan Tschannen b6008558d3 renamed BinaryWriter.toStringRef() to .toValue(), because the function now returns a Standalone<StringRef>()
eliminated an unnecessary copy from the proxy commit path
eliminated an unnecessary copy from buffered peek cursor
2019-03-28 11:52:50 -07:00
Evan Tschannen 99e71d561e
Merge pull request #1373 from etschannen/master
Merge 6.1 into master
2019-03-27 21:04:28 -07:00
Evan Tschannen 795ce9f137
Merge pull request #1369 from jzhou77/ratekeeper
Fix SchemaMismatch error
2019-03-27 21:01:37 -07:00
Evan Tschannen 836bb95a7a
Merge pull request #1372 from etschannen/master
Merge 6.1 into master
2019-03-27 21:00:49 -07:00
Evan Tschannen 34b9d5e722
Merge pull request #1364 from etschannen/feature-fast-serialize
A few performance optimizations
2019-03-27 20:57:25 -07:00
Evan Tschannen c10f1eea71 QueueModel changed to unordered_map 2019-03-27 20:56:44 -07:00
Evan Tschannen 6997075917 changed back to isV6addr instead of isV4addr for compatibility 2019-03-27 19:55:36 -07:00
Evan Tschannen 2fbecac10f fix: allocation strategy did not take into account the data used by the ArenaBlock 2019-03-27 19:54:58 -07:00
Evan Tschannen f1a4bdd70d changed failureMonitor to use an unordered_map 2019-03-27 19:17:08 -07:00
Evan Tschannen e5a80f2c94 optimized IPaddress 2019-03-27 18:21:13 -07:00
Jingyu Zhou b81de9831f Fix SchemaMismatch error
Add data_distributor and ratekeeper roles to schema.
2019-03-27 09:54:01 -07:00
Jingyu Zhou dcd3dabdb2
Merge pull request #1368 from ajbeamon/make-ratekeeper-one-word
Establish a convention with ratekeeper being one word
2019-03-27 09:52:49 -07:00
A.J. Beamon 91014d4529 Add file changes that I accidentally failed to commit; fix naming issue in worker. 2019-03-27 08:41:19 -07:00
A.J. Beamon c532a00f30
Merge pull request #1365 from jzhou77/fix-unreferenced
Fix compiler warning about unreferenced exception variables
2019-03-27 08:38:31 -07:00
A.J. Beamon 71e2fdafb8 Changes to ratekeeper camel case 2019-03-27 08:24:25 -07:00
A.J. Beamon d508658569 Make ratekeeper one word to match our existing convention 2019-03-27 08:15:19 -07:00
Evan Tschannen 9e8237955f BinaryWriter uses arena allocation 2019-03-26 17:27:33 -07:00
Evan Tschannen 83b2ff8b08
Merge pull request #1366 from ajbeamon/docs-update-batch-priority
Update documentation about batch priority transactions
2019-03-26 16:08:27 -07:00
Evan Tschannen 75f2929f6b
Merge pull request #1357 from jzhou77/ratekeeper
Add data distributor and ratekeeper to status output
2019-03-26 16:07:44 -07:00
Evan Tschannen efa9b1cd73
Merge pull request #1359 from ajbeamon/fix-database-memory-leak
Avoiding holding references to ThreadSafeDatabase on the main thread.
2019-03-26 16:02:03 -07:00
A.J. Beamon f363bdb007 Update documentation about batch priority transactions 2019-03-26 15:45:38 -07:00
Jingyu Zhou 38c6681349 Fix some signed and unsigned mismatch warnings. 2019-03-26 14:54:11 -07:00
Jingyu Zhou c0b58080ee Fix type name warning for DDTeamCollection
Seen using 'class' now seen using 'struct' in DataDistribution.actor.cpp
2019-03-26 14:18:25 -07:00
Jingyu Zhou 7c02ee6fdd Fix compiler warning about unreferenced exception variable 2019-03-26 13:43:47 -07:00
Evan Tschannen ea38b78768 BinaryWriter uses fastAllocator 2019-03-26 12:06:39 -07:00
Evan Tschannen 3b5b03e435 ReplyPromise does not serialize an empty NetworkAddress 2019-03-26 12:05:43 -07:00
A.J. Beamon cb93f3f8c8
Merge pull request #1308 from xumengpanda/mengxu/schema-doc-PR
Auto-generate the machine-readable status document
2019-03-26 10:42:49 -07:00
Steve Atherton 040513b8fe
Merge pull request #1361 from ajbeamon/fix-parsetime-uninitialized-mem
Initialize the tm.tm_isdst field because it isn't set by strptime.
2019-03-26 10:36:38 -07:00
A.J. Beamon ffb1a666b7
Merge pull request #1362 from apple/release-6.1
Merge release-6.1 into master
2019-03-26 09:15:07 -07:00
A.J. Beamon c3e7611415
Merge pull request #1347 from atn34/fix-fdbcli-trace-format
Fix fdbcli and fdbbackup --trace_format option
2019-03-26 09:13:41 -07:00
A.J. Beamon 1429ffe8ab Initialize the tm.tm_isdst field because it isn't set by strptime. 2019-03-26 09:00:45 -07:00
A.J. Beamon fe68a1f7fb Avoiding holding references to ThreadSafeDatabase on the main thread because this can cause a race with fdb_stop_network when it comes time to destroy it. 2019-03-25 16:11:50 -07:00
Jingyu Zhou 466a59a99d Merge remote-tracking branch 'apple/release-6.1' into ratekeeper 2019-03-25 15:27:38 -07:00
Jingyu Zhou f57a22e2ed Add data distributor and ratekeeper to status output 2019-03-25 15:11:29 -07:00
Evan Tschannen 5e03e178de
Merge pull request #1345 from ajbeamon/support-multiple-client-or-worker-issues
Add support for a client or worker having multiple issues.
2019-03-24 17:27:50 -07:00
Evan Tschannen d45159ebf7
Merge pull request #1307 from jzhou77/ratekeeper
Monitor placement of Ratekeeper and DataDistributor
2019-03-24 17:26:07 -07:00
Evan Tschannen d6ad027d37 ratekeeper needs to be recruited for proxies to make progress, so if one has not registered with the cluster controller by the time we are accepting commits, recruit a new one 2019-03-24 16:48:24 -07:00
Evan Tschannen f426d732ea fix: forgot to remove one location where id_used was incremented for distributor and ratekeeper 2019-03-24 16:04:59 -07:00
Steve Atherton 8b60c75271
Merge pull request #1353 from alecgrieser/windows-path-check-build-failure
Fix build failure on Windows in Platform.cpp
2019-03-24 15:19:07 -07:00
Evan Tschannen e8948726e8 once we recruit a ratekeeper, do not allow any other ratekeepers to register 2019-03-24 11:04:39 -07:00