Evan Tschannen
fef58e13a4
adding logging for durability lag in ratekeeper
2019-07-12 18:50:56 -07:00
Evan Tschannen
1a18c859c7
knobified the durability lag rate controls
2019-07-12 18:50:56 -07:00
Evan Tschannen
c5fb5494f5
a better attempt a ratekeeper control on durability lag
2019-07-12 18:50:56 -07:00
Evan Tschannen
dc171b3eae
fixed compiler error
2019-07-12 18:50:56 -07:00
Evan Tschannen
e85c05c906
experimental slow control on durability lag
2019-07-12 18:50:56 -07:00
Meng Xu
8454d74da9
TC:Change remainingTeamBudget to ensure each server has more than desired team number
2019-07-12 18:39:01 -07:00
Evan Tschannen
c4c9e6cee7
fixed compiler errors
2019-07-12 18:28:41 -07:00
Evan Tschannen
2c0bf99ef2
Update fdbserver/DBCoreState.h
...
Co-Authored-By: Alex Miller <35046903+alexmiller-apple@users.noreply.github.com>
2019-07-12 18:17:30 -07:00
Evan Tschannen
b2d8110c13
Update fdbserver/TagPartitionedLogSystem.actor.cpp
...
Co-Authored-By: Alex Miller <35046903+alexmiller-apple@users.noreply.github.com>
2019-07-12 18:16:44 -07:00
Evan Tschannen
2278e905ce
Update fdbserver/DBCoreState.h
...
Co-Authored-By: Alex Miller <35046903+alexmiller-apple@users.noreply.github.com>
2019-07-12 18:15:59 -07:00
Evan Tschannen
e5622a424e
Update fdbserver/LogSystemDiskQueueAdapter.actor.cpp
...
Co-Authored-By: Alex Miller <35046903+alexmiller-apple@users.noreply.github.com>
2019-07-12 18:13:56 -07:00
Meng Xu
1c0daa7f2c
Resolve review comments:Remove unneeded code
2019-07-12 18:10:04 -07:00
Evan Tschannen
a4071952db
fix documentation
2019-07-12 18:02:20 -07:00
Evan Tschannen
02de53160d
only skip confirm epoch live if CAUSAL_READ_RISKY is enabled
...
time checked on the proxy should be less than the time waited by the master to account for clock speed differences
setting REQUIRED_MIN_RECOVERY_DURATION and ENFORCED_MIN_RECOVERY_DURATION to 0 will go back to the old behavior
2019-07-12 17:58:16 -07:00
mpilman
cb7b941452
expose protocolVersion to serialize function
...
The main idea here is that we now have a context for
serialization and deserialization. This can be used
to access the protocolVersion.
The context still needs to be exposed to the
deserailization traits
2019-07-12 17:16:54 -07:00
Jingyu Zhou
562bf6511a
Fix approximate size calculation
2019-07-12 16:53:37 -07:00
A.J. Beamon
a0203457d9
Some rewording in the table describing different replication modes
2019-07-12 16:24:43 -07:00
A.J. Beamon
d5051b08dd
Make trace event field lengths (and total event sizes) default knobified and configurable. Add a transaction option to control the field length of transaction debug logging. Make the program start command line field less likely to be truncated.
2019-07-12 16:12:35 -07:00
Jingyu Zhou
990c205f70
Push a string to stack for getApproximateSize in binding testers
...
Because different bindings may issue different limit for get_range calls, it is
impossible to return the same size value for getApproximateSize API. So we just
push a string to make sure binding test results are the same. Use another unit
test to make sure the sizes got back are monotonically increasing.
2019-07-12 14:15:20 -07:00
Andrew Noyes
9001f5d23f
Fix bug introduced in merge commit
2019-07-12 14:02:38 -07:00
Evan Tschannen
a63969afb3
enforce a minimum recovery duration, which allows proxies to avoid checking if the epoch is alive as long as its last commit has been less than MINIMUM_RECOVERY_DURATION ago
2019-07-12 13:10:21 -07:00
Evan Tschannen
b452292a14
Merge pull request #1839 from atn34/remove-snap-attrition-from-ctest
...
Remove SnapTestAttrition from ctest
2019-07-12 12:07:25 -07:00
mpilman
75d4b612cf
Make object serializer versioned
2019-07-12 11:53:14 -07:00
Andrew Noyes
969957e619
Merge branch 'master' into change-connection-file
2019-07-12 11:39:19 -07:00
Andrew Noyes
984b603c33
Avoid saving each item twice
2019-07-12 11:20:01 -07:00
Andrew Noyes
11c969511c
Update TODOs
2019-07-12 11:17:11 -07:00
Jingyu Zhou
4bebbb5463
Merge pull request #1838 from jzhou77/std
...
Fix python3 binding test failure
2019-07-12 10:51:23 -07:00
Andrew Noyes
5be0c47409
Add some missing help text
2019-07-12 10:46:46 -07:00
Andrew Noyes
269f077196
Add --object-serializer flag to fdbbackup etc
2019-07-12 10:46:45 -07:00
Andrew Noyes
1cf036fc9f
Remove SnapTestAttrition from ctest
...
SnapTestAttrition the test file was removed in a53bf928
2019-07-12 10:43:42 -07:00
Meng Xu
aa19da6977
TC:TraceAllInfo:Remove unused variable
...
Also change some code format in self review
2019-07-12 10:41:05 -07:00
Jingyu Zhou
9c3591ff43
Fix python3 test failure
...
Both key and value has to be of type bytes.
2019-07-12 10:15:40 -07:00
Meng Xu
4da2071b49
ServerTeamRemover:Believe all servers are healthy when we start to remove
...
Before the serverTeamRemover tries to pick a team to remove,
it waits for all data movement to finish, which means all teams are healthy.
When the serverTeamRemover starts to pick a team to remove,
we believe all servers are healthy.
2019-07-11 23:47:31 -07:00
mpilman
4870362dbb
Merge remote-tracking branch 'andrew/flatbuffers-fixes2' into flatbuffers-fixes2
2019-07-11 23:06:13 -07:00
mpilman
74f992b2cc
fixed wrong assertion
2019-07-11 23:03:31 -07:00
mpilman
b68f2d925f
Serialize range result to string for speed
2019-07-11 23:03:31 -07:00
mpilman
4e144796c7
fixed serialization bug with ReplicationPolicy
2019-07-11 23:03:31 -07:00
Andrew Noyes
c63ff98535
Add some documentation todos
2019-07-11 23:03:31 -07:00
Andrew Noyes
eb87b1fc61
Remove dead code
2019-07-11 23:03:31 -07:00
Andrew Noyes
137936762d
Eliminate unnecessary memcpy
2019-07-11 23:03:31 -07:00
Andrew Noyes
70f0726185
Support PacketBuffer's of arbitrary size
2019-07-11 23:03:31 -07:00
Andrew Noyes
70eac949e6
Zero-initialize memory more precisely
...
Also fix two alignment bugs
2019-07-11 23:03:31 -07:00
Andrew Noyes
a34f8d70d6
Re-use writeToOffsets vector
2019-07-11 23:03:31 -07:00
Andrew Noyes
f8584d0df8
Implement new dynamic_size_traits
2019-07-11 23:03:31 -07:00
Andrew Noyes
71119975f5
Documentation WIP
2019-07-11 23:03:31 -07:00
Andrew Noyes
bc29b1e78a
Use flatbuffers for testing
2019-07-11 23:03:31 -07:00
Andrew Noyes
274cb40eb8
Run tests under valgrind when USE_VALGRIND
2019-07-11 23:03:31 -07:00
Meng Xu
cf935ff9e6
Remove debug message and format code
2019-07-11 22:05:20 -07:00
Jingyu Zhou
2dcc3cfd0a
Deprecate fdb_future_get_version for version 620
...
Use fdb_future_get_int64 in all bindings.
2019-07-11 21:17:31 -07:00
Meng Xu
cd28a0b604
Reenable check each server must have at least 1 team
2019-07-11 17:58:14 -07:00