Revision 0b06af91463d5b6068ad794ac7307075440f8e4b authored by Peter Dillinger on 01 December 2020, 18:15:36 UTC, committed by Facebook GitHub Bot on 01 December 2020, 18:17:56 UTC
Summary: TSAN reports that our stack trace handler makes unsafe calls during a signal handler. I just tried fixing some of them and I don't think it's fixable unless we can get away from using FILE stdio. Even if we can use lower level functions only, I'm not sure it's fixed. I also tried suppressing the reports with function and file level TSAN suppression, but that doesn't seem to work, perhaps because the violation is reported on the callee, not the caller. So I added a warning to be printed whenever these violations would be reported that they are practically ignorable. Internal ref: T77844138 Pull Request resolved: https://github.com/facebook/rocksdb/pull/7723 Test Plan: run external_sst_file_test with seeded abort(), with TSAN (TSAN warnings + new warning) and without TSAN (no warning, just stack trace). Reviewed By: akankshamahajan15 Differential Revision: D25228011 Pulled By: pdillinger fbshipit-source-id: 3eda1d6e7ca3cdc64076cf99ae954168837d2818
1 parent eb65d67
File | Mode | Size |
---|---|---|
adaptive | ||
block_based | ||
cuckoo | ||
plain | ||
block_fetcher.cc | -rw-r--r-- | 11.8 KB |
block_fetcher.h | -rw-r--r-- | 5.1 KB |
block_fetcher_test.cc | -rw-r--r-- | 20.6 KB |
cleanable_test.cc | -rw-r--r-- | 6.4 KB |
format.cc | -rw-r--r-- | 15.0 KB |
format.h | -rw-r--r-- | 12.8 KB |
get_context.cc | -rw-r--r-- | 15.2 KB |
get_context.h | -rw-r--r-- | 8.5 KB |
internal_iterator.h | -rw-r--r-- | 7.7 KB |
iter_heap.h | -rw-r--r-- | 1.3 KB |
iterator.cc | -rw-r--r-- | 6.7 KB |
iterator_wrapper.h | -rw-r--r-- | 4.3 KB |
merger_test.cc | -rw-r--r-- | 4.5 KB |
merging_iterator.cc | -rw-r--r-- | 13.9 KB |
merging_iterator.h | -rw-r--r-- | 2.1 KB |
meta_blocks.cc | -rw-r--r-- | 20.4 KB |
meta_blocks.h | -rw-r--r-- | 6.4 KB |
mock_table.cc | -rw-r--r-- | 10.2 KB |
mock_table.h | -rw-r--r-- | 2.9 KB |
multiget_context.h | -rw-r--r-- | 9.1 KB |
persistent_cache_helper.cc | -rw-r--r-- | 4.3 KB |
persistent_cache_helper.h | -rw-r--r-- | 1.5 KB |
persistent_cache_options.h | -rw-r--r-- | 1.1 KB |
scoped_arena_iterator.h | -rw-r--r-- | 1.6 KB |
sst_file_dumper.cc | -rw-r--r-- | 18.2 KB |
sst_file_dumper.h | -rw-r--r-- | 3.6 KB |
sst_file_reader.cc | -rw-r--r-- | 3.3 KB |
sst_file_reader_test.cc | -rw-r--r-- | 6.7 KB |
sst_file_writer.cc | -rw-r--r-- | 12.2 KB |
sst_file_writer_collectors.h | -rw-r--r-- | 3.1 KB |
table_builder.h | -rw-r--r-- | 8.2 KB |
table_factory.cc | -rw-r--r-- | 1.5 KB |
table_properties.cc | -rw-r--r-- | 11.0 KB |
table_properties_internal.h | -rw-r--r-- | 1.1 KB |
table_reader.h | -rw-r--r-- | 6.4 KB |
table_reader_bench.cc | -rw-r--r-- | 12.8 KB |
table_reader_caller.h | -rw-r--r-- | 1.5 KB |
table_test.cc | -rw-r--r-- | 175.8 KB |
two_level_iterator.cc | -rw-r--r-- | 6.4 KB |
two_level_iterator.h | -rw-r--r-- | 1.7 KB |
Computing file changes ...