Revision 7ea26abb8b8625ccd4916f95fbd9466c8947f5bd authored by Akanksha Mahajan on 07 April 2022, 01:36:23 UTC, committed by Facebook GitHub Bot on 07 April 2022, 01:36:23 UTC
Summary:
Currently RocksDB reset async_read_in_progress_ in callback
due to which underlying filesystem relying on Poll API won't be called
leading to stale memory access.
In order to fix it, async_read_in_progress_ will be reset after Poll API
is called to make sure underlying file_system waiting on Poll can clear
its state or take appropriate action.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9815

Test Plan: CircleCI tests

Reviewed By: anand1976

Differential Revision: D35451534

Pulled By: akankshamahajan15

fbshipit-source-id: b70ef6251a7aa9ed4876ba5e5100baa33d7d474c
1 parent e03f8a0
History
File Mode Size
utilities
advanced_options.h -rw-r--r-- 40.2 KB
c.h -rw-r--r-- 108.7 KB
cache.h -rw-r--r-- 24.5 KB
cache_bench_tool.h -rw-r--r-- 480 bytes
cleanable.h -rw-r--r-- 2.1 KB
compaction_filter.h -rw-r--r-- 11.3 KB
compaction_job_stats.h -rw-r--r-- 3.7 KB
comparator.h -rw-r--r-- 5.8 KB
compression_type.h -rw-r--r-- 1.5 KB
concurrent_task_limiter.h -rw-r--r-- 1.8 KB
configurable.h -rw-r--r-- 19.2 KB
convenience.h -rw-r--r-- 23.9 KB
customizable.h -rw-r--r-- 9.8 KB
data_structure.h -rw-r--r-- 1.5 KB
db.h -rw-r--r-- 82.5 KB
db_bench_tool.h -rw-r--r-- 421 bytes
db_dump_tool.h -rw-r--r-- 1.2 KB
db_stress_tool.h -rw-r--r-- 422 bytes
env.h -rw-r--r-- 72.4 KB
env_encryption.h -rw-r--r-- 19.3 KB
experimental.h -rw-r--r-- 2.4 KB
file_checksum.h -rw-r--r-- 5.9 KB
file_system.h -rw-r--r-- 73.8 KB
filter_policy.h -rw-r--r-- 9.3 KB
flush_block_policy.h -rw-r--r-- 2.6 KB
functor_wrapper.h -rw-r--r-- 1.5 KB
io_status.h -rw-r--r-- 7.7 KB
iostats_context.h -rw-r--r-- 3.0 KB
iterator.h -rw-r--r-- 5.0 KB
ldb_tool.h -rw-r--r-- 1.2 KB
listener.h -rw-r--r-- 32.7 KB
memory_allocator.h -rw-r--r-- 3.4 KB
memtablerep.h -rw-r--r-- 16.9 KB
merge_operator.h -rw-r--r-- 12.3 KB
metadata.h -rw-r--r-- 9.6 KB
options.h -rw-r--r-- 85.3 KB
perf_context.h -rw-r--r-- 10.3 KB
perf_level.h -rw-r--r-- 1.3 KB
persistent_cache.h -rw-r--r-- 2.6 KB
rate_limiter.h -rw-r--r-- 6.7 KB
rocksdb_namespace.h -rw-r--r-- 444 bytes
secondary_cache.h -rw-r--r-- 3.2 KB
slice.h -rw-r--r-- 7.4 KB
slice_transform.h -rw-r--r-- 6.1 KB
snapshot.h -rw-r--r-- 1.3 KB
sst_dump_tool.h -rw-r--r-- 524 bytes
sst_file_manager.h -rw-r--r-- 5.8 KB
sst_file_reader.h -rw-r--r-- 1.3 KB
sst_file_writer.h -rw-r--r-- 6.6 KB
sst_partitioner.h -rw-r--r-- 4.7 KB
statistics.h -rw-r--r-- 24.4 KB
stats_history.h -rw-r--r-- 2.5 KB
status.h -rw-r--r-- 16.7 KB
system_clock.h -rw-r--r-- 4.2 KB
table.h -rw-r--r-- 36.7 KB
table_properties.h -rw-r--r-- 13.3 KB
thread_status.h -rw-r--r-- 6.3 KB
threadpool.h -rw-r--r-- 2.0 KB
trace_reader_writer.h -rw-r--r-- 1.9 KB
trace_record.h -rw-r--r-- 7.4 KB
trace_record_result.h -rw-r--r-- 6.1 KB
transaction_log.h -rw-r--r-- 3.7 KB
types.h -rw-r--r-- 1.4 KB
unique_id.h -rw-r--r-- 2.1 KB
universal_compaction.h -rw-r--r-- 3.6 KB
version.h -rw-r--r-- 1.7 KB
wal_filter.h -rw-r--r-- 4.8 KB
write_batch.h -rw-r--r-- 17.7 KB
write_batch_base.h -rw-r--r-- 6.0 KB
write_buffer_manager.h -rw-r--r-- 5.7 KB

back to top