From 9f774baaa8aa4010f77d601b291d08a37ef65d46 Mon Sep 17 00:00:00 2001 From: darionyaphet Date: Thu, 15 Jun 2023 16:53:44 -0700 Subject: [PATCH] Support Error Recovery Retry Flush in GetFlushReasonString (#11536) Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/11536 Reviewed By: cbi42 Differential Revision: D46732297 Pulled By: ajkr fbshipit-source-id: 82bb078f189da233addc4f483eaa6eaf7fdd3910 --- db/flush_job.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/flush_job.cc b/db/flush_job.cc index aaa6c91c3..4c6b329dc 100644 --- a/db/flush_job.cc +++ b/db/flush_job.cc @@ -75,6 +75,8 @@ const char* GetFlushReasonString(FlushReason flush_reason) { return "Manual Flush"; case FlushReason::kErrorRecovery: return "Error Recovery"; + case FlushReason::kErrorRecoveryRetryFlush: + return "Error Recovery Retry Flush"; case FlushReason::kWalFull: return "WAL Full"; default: