You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
anand76
c3f720c60d
Enable ReadAsync testing and fault injection in db_stress ( #11037 )
...
Summary:
The db_stress code uses a wrapper Env on top of the raw/fault injection Env. The wrapper, DbStressEnvWrapper, is a legacy Env and thus has a default implementation of ReadAsync that just does a sync read. As a result, the ReadAsync implementations of PosixFileSystem and other file systems weren't being tested. Also, the ReadAsync interface wasn't implemented in FaultInjectionTestFS. This change implements the necessary interfaces in FaultInjectionTestFS and derives DbStressEnvWrapper from FileSystemWrapper rather than EnvWrapper.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/11037
Test Plan: Run db_stress standalone and crash test. With this change, db_stress is able to repro the bug fixed in https://github.com/facebook/rocksdb/issues/10890 .
Reviewed By: akankshamahajan15
Differential Revision: D42061290
Pulled By: anand1976
fbshipit-source-id: 7f0331fd15ee33fb4f7f0f4b22b206fe801ba074
2 years ago
..
agg_merge
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
backup
Fix bug updating latest backup on delete ( #11029 )
2 years ago
blob_db
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
cassandra
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
checkpoint
Sort L0 files by newly introduced epoch_num ( #10922 )
2 years ago
compaction_filters
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
convenience
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
leveldb_options
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
memory
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
merge_operators
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
option_change_migration
Option migration tool to break down files for FIFO compaction ( #10600 )
2 years ago
options
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
persistent_cache
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
simulator_cache
Refactor block cache tracing APIs ( #10811 )
2 years ago
table_properties_collectors
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
trace
Add rate limiter priority to ReadOptions ( #9424 )
3 years ago
transactions
Revise LockWAL/UnlockWAL implementation ( #11020 )
2 years ago
ttl
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
write_batch_with_index
Fix a bug where GetContext does not update READ_NUM_MERGE_OPERANDS ( #10925 )
2 years ago
cache_dump_load.cc
Introduce a mechanism to dump out blocks from block cache and re-insert to secondary cache ( #8912 )
3 years ago
cache_dump_load_impl.cc
Add a SecondaryCache::InsertSaved() API, use in CacheDumper impl ( #10945 )
2 years ago
cache_dump_load_impl.h
Add a SecondaryCache::InsertSaved() API, use in CacheDumper impl ( #10945 )
2 years ago
compaction_filters.cc
Restore Regex support for ObjectLibrary::Register, rename new APIs to allow old one to be deprecated in the future ( #9362 )
3 years ago
counted_fs.cc
Fix serious FSDirectory use-after-Close bug (missing fsync) ( #10460 )
2 years ago
counted_fs.h
Explicitly closing all directory file descriptors ( #10049 )
2 years ago
debug.cc
Skip swaths of range tombstone covered keys in merging iterator (2022 edition) ( #10449 )
2 years ago
env_mirror.cc
Fix clang13 build error ( #9374 )
3 years ago
env_mirror_test.cc
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
env_timed.cc
Make FileSystem a Customizable Class ( #8649 )
3 years ago
env_timed.h
Make FileSystem a Customizable Class ( #8649 )
3 years ago
env_timed_test.cc
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
fault_injection_env.cc
Explicitly closing all directory file descriptors ( #10049 )
2 years ago
fault_injection_env.h
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
fault_injection_fs.cc
Enable ReadAsync testing and fault injection in db_stress ( #11037 )
2 years ago
fault_injection_fs.h
Enable ReadAsync testing and fault injection in db_stress ( #11037 )
2 years ago
fault_injection_secondary_cache.cc
Avoid recompressing cold block in CompressedSecondaryCache ( #10527 )
2 years ago
fault_injection_secondary_cache.h
add SetCapacity and GetCapacity for secondary cache ( #10712 )
2 years ago
memory_allocators.h
Make MemoryAllocator into a Customizable class ( #8980 )
3 years ago
merge_operators.cc
Restore Regex support for ObjectLibrary::Register, rename new APIs to allow old one to be deprecated in the future ( #9362 )
3 years ago
merge_operators.h
Run clang-format on utilities/ (except utilities/transactions/) ( #10853 )
2 years ago
object_registry.cc
Added GetFactoryCount/Names/Types to ObjectRegistry ( #9358 )
3 years ago
object_registry_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
util_merge_operators_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
wal_filter.cc
Make WalFilter, SstPartitionerFactory, FileChecksumGenFactory, and TableProperties Customizable ( #8638 )
3 years ago