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.
Akanksha Mahajan
1d226018af
In IOTracing, add filename with each operation in trace file. ( #7885 )
...
Summary:
1. In IOTracing, add filename with each IOTrace record. Filename is stored in file object (Tracing Wrappers).
2. Change the logic of figuring out which additional information (file_size,
length, offset etc) needs to be store with each operation
which is different for different operations.
When new information will be added in future (depends on operation),
this change would make the future additions simple.
Logic: In IOTraceRecord, io_op_data is added and its
bitwise positions represent which additional information need
to added in the record from enum IOTraceOp. Values in IOTraceOp represent bitwise positions.
So if length and offset needs to be stored (IOTraceOp::kIOLen
is 1 and IOTraceOp::kIOOffset is 2), position 1 and 2 (from rightmost bit) will be set
and io_op_data will contain 110.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/7885
Test Plan: Updated io_tracer_test and verified the trace file manually.
Reviewed By: anand1976
Differential Revision: D25982353
Pulled By: akankshamahajan15
fbshipit-source-id: ebfc5539cc0e231d7794a6b42b73f5403e360b22
4 years ago
..
advisor
remediation of S205607
4 years ago
block_cache_analyzer
Fix block_cache_test failure ( #7783 )
4 years ago
dump
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
rdb
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
CMakeLists.txt
Mark dependencies as PRIVATE and fix missing dependencies in tools. ( #6790 )
5 years ago
Dockerfile
adding docker build script and dockerfile
10 years ago
analyze_txn_stress_test.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
auto_sanity_test.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
benchmark.sh
Fixed typo in benchmark.sh ( #6434 )
5 years ago
benchmark_leveldb.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
blob_dump.cc
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
check_all_python.py
Allow missing "unversioned" python, as in CentOS 8 ( #6883 )
5 years ago
check_format_compatible.sh
add 6.15.fb to check_format_compatible.sh ( #7738 )
4 years ago
db_bench.cc
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
db_bench_tool.cc
Fix db_bench duration for multireadrandom benchmark ( #7817 )
4 years ago
db_bench_tool_test.cc
Create a CustomEnv class; Add WinFileSystem; Make LegacyFileSystemWrapper private ( #7703 )
4 years ago
db_crashtest.py
Inject the random write error to stress test ( #7653 )
4 years ago
db_repl_stress.cc
Migrate away from Travis+Linux+amd64 ( #7791 )
4 years ago
db_sanity_test.cc
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
dbench_monitor
Fix /bin/bash shebangs
7 years ago
generate_random_db.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
ingest_external_sst.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
io_tracer_parser.cc
Add IO Tracer Parser ( #7333 )
4 years ago
io_tracer_parser_test.cc
Add IO Tracer Parser ( #7333 )
4 years ago
io_tracer_parser_tool.cc
In IOTracing, add filename with each operation in trace file. ( #7885 )
4 years ago
io_tracer_parser_tool.h
Add IO Tracer Parser ( #7333 )
4 years ago
ldb.cc
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
ldb_cmd.cc
Make ldb load column family options from OPTIONS file ( #7847 )
4 years ago
ldb_cmd_impl.h
Make ldb load column family options from OPTIONS file ( #7847 )
4 years ago
ldb_cmd_test.cc
Make ldb load column family options from OPTIONS file ( #7847 )
4 years ago
ldb_test.py
aggregated-table-properties with GetMapProperty ( #7779 )
4 years ago
ldb_tool.cc
aggregated-table-properties with GetMapProperty ( #7779 )
4 years ago
pflag
Fix /bin/bash shebangs
7 years ago
reduce_levels_test.cc
Add more tests for assert status checked ( #7524 )
4 years ago
regression_test.sh
Make regression test load options from file for checkpoint ( #7864 )
4 years ago
report_lite_binary_size.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
rocksdb_dump_test.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
run_flash_bench.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
run_leveldb.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
sample-dump.dmp
First version of rocksdb_dump and rocksdb_undump.
10 years ago
sst_dump.cc
Implement a new subcommand "identify" for sst_dump ( #6943 )
4 years ago
sst_dump_test.cc
No elide constructors ( #7798 )
4 years ago
sst_dump_tool.cc
In ParseInternalKey(), include corrupt key info in Status ( #7515 )
4 years ago
trace_analyzer.cc
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
trace_analyzer_test.cc
No elide constructors ( #7798 )
4 years ago
trace_analyzer_tool.cc
Remove unused includes ( #7604 )
4 years ago
trace_analyzer_tool.h
Add trace_analyzer_test to ASSERT_STATUS_CHECKED list ( #7480 )
4 years ago
verify_random_db.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
write_external_sst.sh
Add copyright headers per FB open-source checkup tool. ( #5199 )
6 years ago
write_stress.cc
Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE ( #6433 )
5 years ago
write_stress_runner.py
Allow missing "unversioned" python, as in CentOS 8 ( #6883 )
5 years ago