From 314d1b66a54de0d6e82055578e778ccce46c41ab Mon Sep 17 00:00:00 2001 From: Zhe Wu Date: Tue, 29 Aug 2023 13:58:23 -0700 Subject: [PATCH] Fix StatusWorkload after adding perpetual_storage_wiggle_engine --- .../sphinx/source/mr-status-json-schemas.rst.inc | 14 ++++++++++++++ fdbclient/Schemas.cpp | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/documentation/sphinx/source/mr-status-json-schemas.rst.inc b/documentation/sphinx/source/mr-status-json-schemas.rst.inc index 46210db75f..68dc8b49ef 100644 --- a/documentation/sphinx/source/mr-status-json-schemas.rst.inc +++ b/documentation/sphinx/source/mr-status-json-schemas.rst.inc @@ -857,6 +857,20 @@ "backup_worker_enabled":1, "perpetual_storage_wiggle": 0, "perpetual_storage_wiggle_locality":"0", + "storage_engine":{ + "$enum":[ + "ssd", + "ssd-1", + "ssd-2", + "ssd-redwood-1", + "ssd-rocksdb-v1", + "ssd-sharded-rocksdb", + "memory", + "memory-1", + "memory-2", + "memory-radixtree-beta", + "none" + ]}, "storage_migration_type":{ "$enum":[ "disabled", diff --git a/fdbclient/Schemas.cpp b/fdbclient/Schemas.cpp index 09e85ccaa6..0591cbc43d 100644 --- a/fdbclient/Schemas.cpp +++ b/fdbclient/Schemas.cpp @@ -851,6 +851,20 @@ const KeyRef JSONSchemas::statusSchema = R"statusSchema( "backup_worker_enabled":1, "perpetual_storage_wiggle":0, "perpetual_storage_wiggle_locality":"0", + "perpetual_storage_wiggle_engine":{ + "$enum":[ + "ssd", + "ssd-1", + "ssd-2", + "ssd-redwood-1", + "ssd-rocksdb-v1", + "ssd-sharded-rocksdb", + "memory", + "memory-1", + "memory-2", + "memory-radixtree-beta", + "none" + ]}, "storage_migration_type": { "$enum":[ "disabled",