]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Do not set bg error for compaction in retryable IO Error case (#7899)
authorZhichao Cao <zhichao@fb.com>
Thu, 28 Jan 2021 01:56:17 +0000 (17:56 -0800)
committerZhichao Cao <zhichao@fb.com>
Thu, 28 Jan 2021 20:20:02 +0000 (12:20 -0800)
commit8797aea8031bd682427f2cccbfbceb13ff8569cf
tree5b9060b0806ed24c98f627aa78da521413093606
parent9092ebed3917402b7b547e658819401eb7b5ac56
Do not set bg error for compaction in retryable IO Error case (#7899)

Summary:
When retryable IO error occurs during compaction, it is mapped to soft error and set the BG error. However, auto resume is not called to clean the soft error since compaction will reschedule by itself. In this change, When retryable IO error occurs during compaction, BG error is not set. User will be informed the error via EventHelper.

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

Test Plan: tested with error_handler_fs_test

Reviewed By: anand1976

Differential Revision: D26094097

Pulled By: zhichao-cao

fbshipit-source-id: c53424f11d237405592cd762f43cbbdf8da8234f
HISTORY.md
db/db_impl/db_impl.h
db/db_impl/db_impl_debug.cc
db/error_handler.cc
db/error_handler_fs_test.cc