A.J. Beamon
7d63c2cfb7
Formatting fixes
2017-11-06 09:20:31 -08:00
A.J. Beamon
3ae3200cc5
Untested implementation of feature to log basic backup and DR info to fdbcli status.
2017-11-03 14:02:03 -07:00
Balachandar Namasivayam
33cc644ba8
Copy CommitTransactionRequest during tryCommit function call as it is anyway copied inside the function.
2017-11-02 17:00:44 -07:00
John Brownlee
d48b3ca719
Merge branch 'master' of github.com:apple/foundationdb
2017-11-02 11:22:05 -07:00
Yichi Chiang
dcc9aafab7
Merge branch 'master' of github.com:apple/foundationdb
2017-11-02 10:47:59 -07:00
Yichi Chiang
c033d8efd8
Fix typo message and remove extra TraceEvent which overwrites the expected one
2017-11-02 10:47:51 -07:00
John Brownlee
d46e240de2
Merge branch 'release-5.0'
...
# Conflicts:
# fdbclient/FileBackupAgent.actor.cpp
# versions.target
2017-11-02 10:42:30 -07:00
John Brownlee
5425d35ed7
Update versions.target
2017-11-02 10:29:34 -07:00
John Brownlee
b20b9dc3f2
Update product ID.
2017-11-02 10:19:06 -07:00
Balachandar Namasivayam
3efaaec479
onMasterProxiesChanged was being triggered when any member of ClientDBInfo changed. Change the behavior to be triggered only when proxies field in ClientDBInfo is changed.
2017-11-01 18:29:56 -07:00
Yichi Chiang
eeaea60f94
Merge branch 'master' of github.com:apple/foundationdb
2017-11-01 16:20:38 -07:00
Yichi Chiang
bb32add5f0
Fix reusing watch transaction in watchDisabled()
2017-11-01 16:19:18 -07:00
A.J. Beamon
24d4f80d1e
Merge pull request #198 from cie/bindings-java-while-true-supplier
...
<rdar://35096338> Java Bindings: There should be a version of whileTrue that takes a Supplier<CF<Boolean>>
2017-11-01 14:27:52 -07:00
John Brownlee
457ba49e5d
Prepare for 5.0.7 release.
2017-11-01 13:19:50 -07:00
Balachandar Namasivayam
1d95e1bfd6
Log actor cancellation error to Client Transaction sampling records.
2017-11-01 11:51:31 -07:00
Stephen Atherton
f050105243
Added HTTP 502 to the list of retryable errors.
2017-11-01 11:41:32 -07:00
A.J. Beamon
01a4888627
Merge pull request #182 from cie/log-group-for-unsupported-clients
...
Support log group field in status json
2017-11-01 11:33:29 -07:00
A.J. Beamon
7cf17df821
Merge branch 'master' into log-group-for-unsupported-clients
...
# Conflicts:
# flow/Net2.actor.cpp
# tests/fast/SidebandWithStatus.txt
# tests/rare/LargeApiCorrectnessStatus.txt
# tests/slow/DDBalanceAndRemoveStatus.txt
2017-11-01 11:31:02 -07:00
A.J. Beamon
fcbeea104f
Update documentation and tests with new connected_clients status schema
2017-11-01 11:25:50 -07:00
Alec Grieser
eb62b9d9a9
add overload to whileTrue that takes supplier ; deprecated version that takes a Function
2017-11-01 11:21:23 -07:00
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
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