Jingyu Zhou
2363326ecb
Add knobs for various packet buffer sizes
2019-06-25 10:18:56 -07:00
Jingyu Zhou
b151141965
Better handling for large packets
...
On the sending side, a large packet is split into smaller pieces. On the
receiving side, use packet length to allocate buffer to avoid multiple memcpy
and allocations.
2019-06-25 10:18:56 -07:00
Evan Tschannen
cc69bc14ca
Merge pull request #1746 from etschannen/master
...
pseudoLocalities was introduced in the current protocol version, which is 6107
2019-06-24 18:28:15 -07:00
A.J. Beamon
4bbd475b9f
Merge pull request #1745 from senthil-ram/bugfixNativeAPI
...
Undo the partial retry implementation in NativeAPI
2019-06-24 17:59:06 -07:00
Evan Tschannen
54c2b8d5bf
pseudoLocalities was introduced in the current protocol version, which is 6107
2019-06-24 17:04:52 -07:00
Alvin Moore
418f86dd1e
Define default compiler via environmental variables
2019-06-24 15:27:06 -07:00
Alvin Moore
8ff5150470
Merge pull request #1636 from atn34/export-libfdb_c
...
Export libfdb c
2019-06-24 13:08:41 -07:00
sramamoorthy
212136d024
SnapTest to handle retries for exec txns
2019-06-24 10:22:42 -07:00
sramamoorthy
5abc891b12
undo the partial retry logic in NativeAPI
2019-06-24 09:36:07 -07:00
Jingyu Zhou
24f5a598e7
Merge pull request #1741 from mpilman/features/protocol-version
...
Fixed version for PseudoLocalities
2019-06-23 22:04:47 -07:00
mpilman
a812b93fbf
Fixed version for PseudoLocalities
2019-06-23 09:46:18 -07:00
Alec Grieser
e8c75505d3
Merge pull request #1725 from jzhou77/db-option
...
Add transaction size option
2019-06-21 08:25:34 -07:00
Jingyu Zhou
312a7bc16d
Update documentation/sphinx/source/api-common.rst.inc
...
Co-Authored-By: Alec Grieser <alloc@apple.com>
2019-06-20 23:33:41 -07:00
Jingyu Zhou
0715ae493b
Update documentation/sphinx/source/api-common.rst.inc
...
Co-Authored-By: Alec Grieser <alloc@apple.com>
2019-06-20 23:33:16 -07:00
Jingyu Zhou
16765c6b67
Fix a comment
2019-06-20 20:52:29 -07:00
Evan Tschannen
1c005d5878
Merge pull request #1584 from alexmiller-apple/spilled-only-peek
...
Save TLog resources by letting peek request only spilled data.
2019-06-20 18:22:31 -07:00
Alex Miller
26343f557a
Update getMore() contract.
...
MultiCursor already did this.
2019-06-20 17:48:24 -07:00
Evan Tschannen
37c1df2491
Merge pull request #1705 from bnamasivayam/suspend-process
...
Extend RebootRequest API to include time to suspend the process befor…
2019-06-20 17:36:25 -07:00
Evan Tschannen
460af91913
Merge pull request #1727 from alexmiller-apple/dd-failure-time
...
Increase how long FDB will wait before starting DD to repair data loss.
2019-06-20 17:33:16 -07:00
Evan Tschannen
aeb7b752ef
Merge pull request #1731 from alexmiller-apple/new-log-spill-default
...
Bump the default log_version to 3 and log_spill to 2
2019-06-20 17:28:36 -07:00
Evan Tschannen
55cf429cc1
Merge pull request #1735 from ajbeamon/fix-load-balanced-reply-error-initialization
...
LoadBalancedReplies were sending uninitialized versions of their subc…
2019-06-20 14:27:38 -07:00
A.J. Beamon
1809b2e678
Initialize KeySelectorRef primitive types in its default constructor.
2019-06-20 14:20:59 -07:00
Jingyu Zhou
77d5932465
Add a transaction size limit test
2019-06-20 14:14:09 -07:00
Jingyu Zhou
3a63d053e9
Address review comments for PR#1725
2019-06-20 14:06:32 -07:00
A.J. Beamon
189541d42c
LoadBalancedReplies were sending uninitialized versions of their subclasses when there was an error.
2019-06-20 13:57:56 -07:00
Jingyu Zhou
ebc7e7cb4a
Use old transaction size limt during reset
2019-06-19 23:16:27 -07:00
Jingyu Zhou
357c9ba0fb
Refactor code
2019-06-19 20:41:53 -07:00
Jingyu Zhou
387ed4fc8d
Fix documentation
2019-06-19 20:31:56 -07:00
A.J. Beamon
de48b83384
Merge pull request #1728 from alexmiller-apple/cloexec
...
Provide a no-op O_CLOEXEC on windows to fix the build.
2019-06-19 18:50:07 -07:00
Alex Miller
d1ab19c4ca
Bump the default log_version to 3 and log_spill to 2.
...
Thus making spill-by-reference and crc32c disk queue checksums the default.
2019-06-19 18:38:46 -07:00
Alex Miller
12dbe13c9c
Provide a no-op O_CLOEXEC on windows to fix the build.
2019-06-19 17:16:06 -07:00
Jingyu Zhou
bf6bd92d8b
Fix documentation on transaction size limit
2019-06-19 14:54:50 -07:00
Alex Miller
df0baa0066
Merge pull request #1720 from mpilman/features/protocol-version
...
Make protocol version a type
2019-06-19 13:46:35 -07:00
Alex Miller
61901effed
Increase how long FDB will wait before starting DD to repair data loss.
...
10s is a bit short for starting data distribution, which is rather
expensive. 60s is a bit more reasonable.
2019-06-19 13:40:21 -07:00
Alex Miller
1611f0385a
Remove symbolication from ctest, as a large number of backtraces times out tests.
...
HugeArenaAllocation in particular is a bit spammy of backtraces,
intentionally, and is causing testing in the CI to time out.
2019-06-19 13:37:59 -07:00
A.J. Beamon
453724b8b3
Merge pull request #1581 from alexmiller-apple/cloexec
...
Set close-on-exec on all opened file descriptors
2019-06-19 08:39:24 -07:00
Jingyu Zhou
9c2257a0e5
Add transaction size option
2019-06-19 07:45:23 -07:00
Alex Miller
ce24db3c53
Fully consume parallelPeekMore results before switching back.
2019-06-19 01:30:49 -07:00
mpilman
68ce9a5e75
ProtocolVersion type - second try
2019-06-18 17:55:27 -07:00
Alex Miller
51fd42a4d2
Merge remote-tracking branch 'upstream/master' into spilled-only-peek
2019-06-18 17:33:52 -07:00
Alex Miller
0e5773106c
Platform.cpp is a mess, and I was far too optimistic with that push.
2019-06-18 16:50:08 -07:00
Alex Miller
ed118bac17
Fix copy-paste error.
2019-06-18 16:40:17 -07:00
Alex Miller
4fa5dc0502
Merge remote-tracking branch 'upstream/master' into cloexec
2019-06-18 16:35:18 -07:00
Alex Miller
5da8746803
Move fnctl calls into Platform function, and add traceevent on error.
2019-06-18 16:34:35 -07:00
mpilman
6f52059750
Fix backtraces
...
pass -fno-omit-frame-pointer as we otherwise see broken back traces.
This should fix #1631 as well.
2019-06-18 15:33:12 -07:00
mpilman
8576665a90
Revert "Revert "Make protocol version a type""
...
This reverts commit 455bf3b3ec
.
2019-06-18 14:49:04 -07:00
Alex Miller
455bf3b3ec
Revert "Make protocol version a type"
2019-06-18 10:59:17 -07:00
A.J. Beamon
c3aa5819f2
Merge pull request #1417 from mpilman/features/client-buggify
...
Overall framework and first buggify entries
2019-06-18 09:10:11 -07:00
Markus Pilman
f7cbc7b325
Update fdbclient/vexillographer/fdb.options
...
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
2019-06-18 08:18:35 -07:00
mpilman
9aada56666
Fixed buggify option comment
2019-06-17 15:56:52 -07:00