* 'main' of github.com:sfc-gh-nwijetunga/foundationdb: (42 commits)
Get ShardedRocks ready for simulation test. (#7679)
fixing specific unit test
formatting
addressing review comments
Fix incorrect deserialization of FdbClientLogEvents::Event (#7707)
Fix a crash bug during CC shutdown process (#7705)
addressing review comments
remove runAfter
Add comments explaining the use of the TransactionState tenant() and hasTenant() functions
Make sure resumeFromDataMoves() starts after resumeFromShards().
Fix: during recovery, it was possible for tenant operations to briefly fail because the tenant mode is not known
formatting
Fixed granule purging bug and improved debugging for purging
making purge failures fail test
cleanup and polish
Bug fix and cleanup
First version of key-sorted delta files
Added full granule read unit test
Completed delta format unit test
delta file test and delta generation
...
* Disabled tests for ShardedRocks.
Cleaned up ShardedRocks TraceEvent.
Added assertion in ShardManager::validate().
* Added test trace.
* Make sure TraceEvent contains `ShardedRocks`.
Co-authored-by: He Liu <heliu@apple.com>
We're trying to interpret an Optional<TenantName> here, but the
python truthiness of self.get_bytes(1) is _always_ true, since it's
non-empty. We need to look at the _contents_ of that byte instead.
* Debug version of fdbserver -r changeclusterkey tool
* Remove debug symbols; move function to Coordinaton.actor.cpp
* Format and add traces
* fix comments
* Adds ddsketch_calc.py which implements a class for DDSketch related calculations
* Adds ddsketch_conversion.py for quickly computing a bucket index to a value or vice-versa
* Adds ddsketch_compare.py to compute how similar two ddsketch distributions are
* Adds export_graph.py to graph the ddsketch distribution outputted from mako
The arguments for ddsketch_conversion.py are:
-b, --bucket: the bucket index that we need to calculate the value from (optional)
-v, --value: the value that we need to calculate the bucket index from (optional)
-e, --error_guarantee: the error guarantee for ddsketch (optional, default is 0.005)
The arguments for ddsketch_compare.py are:
--file1: Path to first ddsketch json
--file2: Path to second ddsketch json
--txn1: The transaction type for the first file
--txn2: The transaction type for the second file
--op: The operation name (ex: GRV, GET ...)
The arguments for export_graph.py:
--file: path to ddsketch distribution
--txn, -t: Transaction type from file
--title: title for graph (optional, otherwise "Title" is used)
--savefig: Path to save the image plot (optional)
--op: Which operation to plot