Commit Graph

654 Commits

Author SHA1 Message Date
Evan Tschannen b1e3864c0e fix: stop after does not print errors if actor cancelled 2017-11-01 10:58:39 -07:00
A.J. Beamon 31caac67dc Rename supported_versions[x].clients to supported_versions[x].connected_clients 2017-11-01 10:41:30 -07:00
Stephen Atherton c2fd27f294 Previous commit was accidentally early and didn’t compile. 2017-11-01 01:22:08 -07:00
Stephen Atherton acf747c41f Bug fix in backup file termination, errors during sync() were being logged but then not thrown. This can cause a backup to appear to have a log or keyrange file in it but the temp file pointed to by the log/keyrange symbolic link was not successfully uploaded. 2017-11-01 01:16:16 -07:00
Bhaskar Muppana 0d4db774b2 Merge pull request #197 from bmuppana/master
Fixing object copy issue with lambdas in KeyBackedTypes.h
2017-10-31 20:20:48 -07:00
Bhaskar Muppana 92a6e97604 Fixing object copy issue with lambdas in KeyBackedTypes.h 2017-10-31 20:17:06 -07:00
Balachandar Namasivayam 988bc0207f Reset Client Transaction profiling parameters when the config keys are cleared. 2017-10-31 15:40:57 -07:00
Balachandar Namasivayam e377d1985c Merge pull request #195 from cie/throttle-trace-events
Increase message limit for throttling to 100,000 for circus runs.
2017-10-31 11:10:11 -07:00
Balachandar Namasivayam dd6c24ce09 Addressed Review Comments. 2017-10-31 11:08:54 -07:00
Balachandar Namasivayam 80e5fecfe2 Increase message limit for throttling to 100,000 for circus runs.
Added an optimization to use a separate set for throttled events. Since this set is expected to be small, comparison of every event against this set is going to be cheaper.
2017-10-31 10:35:26 -07:00
Evan Tschannen 196aac4cec fix: tag needs to be assigned directly before using it 2017-10-30 16:23:26 -07:00
Evan Tschannen 98b4270703 fix: disableKey was read before options were set 2017-10-30 13:11:54 -07:00
Evan Tschannen fb89ae9f85 added the ability to enable and disable all backup and DR agents from fdbbackup and fdbdr. 2017-10-30 12:35:00 -07:00
Alec Grieser 5a4a5985fd Merge branch 'release-5.0' 2017-10-30 08:31:23 -07:00
Alec Grieser 87321f5017 Merge branch 'release-4.6' into release-5.0 2017-10-30 08:31:01 -07:00
Evan Tschannen 54d82c0d92 Merge pull request #194 from cie/alexmiller/valgrind
Fix valgrind errors
2017-10-27 17:25:12 -07:00
Alex Miller e0d33ef8d7 Preemptively fix profiler-related valgrind errors/straight out bugs.
I forgot to initialize some fields in requests.
2017-10-27 17:20:19 -07:00
Evan Tschannen 93be673e20 Merge pull request #192 from cie/bindingtester-ro-lock-aware-option
<rdar://problem/34579176> Transaction option for read-only lock aware
2017-10-27 17:19:40 -07:00
Alex Miller 3b61b76876 Fix a massive amount of valgrind errors and make them easier to debug in the future.
std::is_pod<> being less restrictive than is_binary_serializable<> meant that
structs that both were POD and had a serialize method defined would be binary
serialized instead of using the defined serialize().  This means that it would
also serialize any padding that the struct contained, which would cause mass
waves of valgrind failures from uninitialized memory.

Included in this change is additional uses of valgrind client requests so that
attempts to send uninitialized memory are reported at the sending site, versus
as part of checksum calculation in sending the packet.
2017-10-27 16:54:44 -07:00
Evan Tschannen aa0c2ae317 only increase the max shard size if the shard begins in the keyServer keyspace, do not increase the minimum shard size 2017-10-27 14:22:26 -07:00
Evan Tschannen 7c2185d5f7 fix: last restorable subspace was not initialized 2017-10-27 14:06:15 -07:00
Balachandar Namasivayam 1d3c88c147 Increase the spammy trace event threshold to 20000 in 20 minutes. 2017-10-27 12:22:56 -07:00
Evan Tschannen 3a4078bdda the keyservers shards are always a fixed large size 2017-10-27 11:52:11 -07:00
Alec Grieser 6a81b467d7 Merge remote-tracking branch 'origin/release-5.0' 2017-10-26 16:27:32 -07:00
A.J. Beamon e52f46064a Don't use the results arena for conflict ranges. Rearrange the code to avoid the copy unless necessary. 2017-10-26 09:35:34 -07:00
Alec Grieser 381928535c removed spurious 'at' ; fixed whitespace 🤮 2017-10-26 09:27:34 -07:00
A.J. Beamon 0d68db0dac Merge branch 'master' into getrange-perf-improvements 2017-10-26 09:25:04 -07:00
Alec Grieser 5cc4328602 Merge remote-tracking branch 'origin/master' into bindings-versionstamps-in-tuples 2017-10-26 08:58:09 -07:00
Balachandar Namasivayam ef307427e9 Merge pull request #183 from cie/add-new-atomic-ops
Add new atomic ops
2017-10-25 18:03:52 -07:00
Balachandar Namasivayam cfefab18fb Merge branch 'master' into add-new-atomic-ops 2017-10-25 18:03:34 -07:00
Balachandar Namasivayam 3d5658940a Addressed Review Comments 2017-10-25 16:42:05 -07:00
Alec Grieser 8cad278da1 add set_read_lock_aware to atomic ops unit tests in binding tester 2017-10-25 15:14:18 -07:00
Balachandar Namasivayam 9dd588dcce Addressed review comments.
Changed naming for NewMin and NewAnd to MinV2 and AndV2
2017-10-25 14:48:05 -07:00
Evan Tschannen d852a53ae4 Merge pull request #181 from cie/throttle-spammy-logs
Throttle spammy logs
2017-10-25 13:45:55 -07:00
Alec Grieser 2b293242f6 resolver -> db ; correct versionstamp spelling 2017-10-25 13:38:03 -07:00
Balachandar Namasivayam 2f6d55a52f Add correctness tests for all atomic ops 2017-10-25 13:36:49 -07:00
Evan Tschannen edfb839ad9 added a message to exclude to suggest retrying the exclude after 30 seconds 2017-10-25 13:32:25 -07:00
Yichi Chiang 4d54a73f5b Merge pull request #191 from cie/count-cluster-controller-role
Take cluster controller role into consideration when recruiting workers
2017-10-25 12:09:15 -07:00
Yichi Chiang f39cce9b8d Use processId instead of address for comparison 2017-10-25 11:35:29 -07:00
Alec Grieser 957243a88e tuple encoding now has fewer copies ; various java 8 vs java 6 inconsistency fixes 2017-10-25 10:53:33 -07:00
Yichi Chiang 5fcef911f0 Take cluster controller role into consideration when recruiting workers 2017-10-25 10:35:46 -07:00
Alec Grieser 1855f876db Merge remote-tracking branch 'origin/master' into bindings-versionstamps-in-tuples 2017-10-24 18:08:47 -07:00
Alec Grieser 50e41c3968 Merge branch 'master' into bindings-versionstamps-in-tuples 2017-10-24 18:05:10 -07:00
Alec Grieser 929fa5699a tuple and versionstamp documentation updates 2017-10-24 17:53:16 -07:00
Alec Grieser deb48641e3 use a constant instead of 12 ; some better comments ; remove prefix_len weirdness 2017-10-24 16:40:58 -07:00
Evan Tschannen 48901a9223 added a list of tlog IDs that are missing to status 2017-10-24 16:28:50 -07:00
Alec Grieser 584b56ecaf bindingtester spec typos ; pack versionstamps more naturally ; fix double/float mixup 2017-10-24 16:08:19 -07:00
Alec Grieser f0bca54061 mostly javadocs fixes 2017-10-24 16:06:56 -07:00
Alec Grieser a2b7fce4d9 whitespace changes 2017-10-24 15:44:39 -07:00
Bhaskar Muppana eba8151a09 Merge pull request #190 from bmuppana/backup-joshua-fix
Fixing Backup wrong key range issue.
2017-10-24 15:28:18 -07:00