rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

AttributeGroup APIs in stress test - PutEntity and GetEntity

Open jaykorean opened this issue 1 year ago • 1 comments

Summary

Adding AttributeGroup APIs in stress test. This contains the following changes only. More PRs to follow.

  • Introduce use_attribute_group flag
  • AttributeGroup PutEntity() and GetEntity() are now used per use_attribute_group flag in BatchOps, NonBatchOps and CfConsistency tests

In the next PRs I plan to add

  • AttributeGroup MultiGetEntity() in Stress Test
  • AttributeGroupIterator in Stress Test (along with CoalescingIterator)

Test Plan

NonBatchOps

python3 tools/db_crashtest.py blackbox --simple --max_key=25000000 --write_buffer_size=4194304 --use_attribute_group=1 --use_put_entity_one_in=1

BatchOps

python3 tools/db_crashtest.py blackbox --test_batches_snapshots=1 --max_key=25000000 --write_buffer_size=4194304 --use_attribute_group=1 --use_put_entity_one_in=1

CfConsistency Test

python3 tools/db_crashtest.py blackbox --cf_consistency --max_key=25000000 --write_buffer_size=4194304 --use_attribute_group=1 --use_put_entity_one_in=1

jaykorean avatar May 02 '24 20:05 jaykorean

@jaykorean has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar May 03 '24 01:05 facebook-github-bot

@jaykorean has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar May 09 '24 22:05 facebook-github-bot

@jaykorean has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar May 09 '24 22:05 facebook-github-bot

@jaykorean merged this pull request in facebook/rocksdb@1f2715d1d2ff7573576887c5a4ed25493ed393e3.

facebook-github-bot avatar May 09 '24 23:05 facebook-github-bot