rocksdb/util
anand76 18a3227b12 Add a new IOStatus subcode to indicate that writes are fenced off (#7374)
Summary:
In a distributed file system, directory ownership is enforced by fencing
off the previous owner once they've been preempted by a new owner. This
PR adds a IOStatus subcode for ```StatusCode::IOError``` to indicate this.
Once this error is returned for a file write, the DB is put in read-only
mode and not allowed to resume in read-write mode.

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

Test Plan: Add new unit tests in ```error_handler_fs_test```

Reviewed By: riversand963

Differential Revision: D23687777

Pulled By: anand1976

fbshipit-source-id: bef948642089dc0af399057864d9a8ca339e8b2f
2020-09-14 16:04:47 -07:00
..
aligned_buffer.h
autovector.h
autovector_test.cc
bloom_impl.h
bloom_test.cc Minimize memory internal fragmentation for Bloom filters (#6427) 2020-06-22 13:32:07 -07:00
build_version.cc.in
build_version.h
cast_util.h Replace reinterpret_cast with static_cast_with_check (#7067) 2020-07-02 19:25:41 -07:00
channel.h
coding.cc
coding.h
coding_test.cc
compaction_job_stats_impl.cc
comparator.cc
compression.h Clean up CompressBlock/CompressBlockInternal a bit (#7249) 2020-08-12 18:25:48 -07:00
compression_context_cache.cc
compression_context_cache.h
concurrent_task_limiter_impl.cc
concurrent_task_limiter_impl.h
core_local.h
crc32c.cc
crc32c.h
crc32c_arm64.cc
crc32c_arm64.h
crc32c_ppc.c
crc32c_ppc.h
crc32c_ppc_asm.S
crc32c_ppc_constants.h
crc32c_test.cc
defer.h
defer_test.cc
duplicate_detector.h
dynamic_bloom.cc
dynamic_bloom.h
dynamic_bloom_test.cc
file_checksum_helper.cc Real fix for race in backup custom checksum checking (#7309) 2020-08-26 10:39:20 -07:00
file_checksum_helper.h Real fix for race in backup custom checksum checking (#7309) 2020-08-26 10:39:20 -07:00
file_reader_writer_test.cc More Makefile Cleanup (#7097) 2020-07-09 14:35:17 -07:00
filelock_test.cc filelock_test: add freebsd headers for waitpid (#7010) 2020-06-25 17:25:42 -07:00
filter_bench.cc Minimize memory internal fragmentation for Bloom filters (#6427) 2020-06-22 13:32:07 -07:00
gflags_compat.h
hash.cc
hash.h New bit manipulation functions and 128-bit value library (#7338) 2020-09-03 09:32:59 -07:00
hash_map.h
hash_test.cc New bit manipulation functions and 128-bit value library (#7338) 2020-09-03 09:32:59 -07:00
heap.h
heap_test.cc
kv_map.h
log_write_bench.cc
math.h New bit manipulation functions and 128-bit value library (#7338) 2020-09-03 09:32:59 -07:00
math128.h New bit manipulation functions and 128-bit value library (#7338) 2020-09-03 09:32:59 -07:00
murmurhash.cc
murmurhash.h
mutexlock.h
ppc-opcode.h
random.cc More Makefile Cleanup (#7097) 2020-07-09 14:35:17 -07:00
random.h More Makefile Cleanup (#7097) 2020-07-09 14:35:17 -07:00
random_test.cc
rate_limiter.cc
rate_limiter.h
rate_limiter_test.cc Fix+clean up handling of mock sleeps (#7101) 2020-08-11 12:41:30 -07:00
repeatable_thread.h Fix a timer_test deadlock (#7277) 2020-08-20 08:43:13 -07:00
repeatable_thread_test.cc
set_comparator.h
slice.cc
slice_test.cc
slice_transform_test.cc
status.cc Add a new IOStatus subcode to indicate that writes are fenced off (#7374) 2020-09-14 16:04:47 -07:00
stderr_logger.h
stop_watch.h
string_util.cc
string_util.h
thread_list_test.cc
thread_local.cc Fix typo in ThreadData comment (#7131) 2020-07-15 09:23:23 -07:00
thread_local.h
thread_local_test.cc
thread_operation.h
threadpool_imp.cc Make it able to lower cpu priority to specific level in threadpool (#6969) 2020-06-13 13:25:20 -07:00
threadpool_imp.h Make it able to lower cpu priority to specific level in threadpool (#6969) 2020-06-13 13:25:20 -07:00
timer.h Shutdown timer in destructor (#7292) 2020-08-21 15:48:52 -07:00
timer_queue.h
timer_queue_test.cc
timer_test.cc Shutdown timer in destructor (#7292) 2020-08-21 15:48:52 -07:00
user_comparator_wrapper.h Separate internal and user key comparators in BlockIter (#6944) 2020-07-07 17:26:16 -07:00
vector_iterator.h
work_queue.h
work_queue_test.cc
xxh3p.h
xxhash.cc
xxhash.h