From 476e71d6248545d61730936f4eb09b03438e6aba Mon Sep 17 00:00:00 2001 From: Hari Krishna Sunder Date: Tue, 4 Feb 2025 10:36:38 -0800 Subject: [PATCH] [#25881] DocDB: Make ysql_enable_packed_row external AutoFlag Summary: `ysql_enable_packed_row` was an NewInstalOnly AutoFlag and incorrectly made to a `LocalPersisted` AutoFlag in d8acbed136c5deb18244018dafb5ea5102c174cb/D41634 This changes switches it to the correct `External` class. Fixes #25881 Jira: DB-15188 Test Plan: Jenkins Reviewers: rthallam Reviewed By: rthallam Subscribers: ybase, yql Differential Revision: https://phorge.dev.yugabyte.com/D41692 --- src/yb/docdb/pgsql_operation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yb/docdb/pgsql_operation.cc b/src/yb/docdb/pgsql_operation.cc index bf7f7cae5275..7c86cb7f9807 100644 --- a/src/yb/docdb/pgsql_operation.cc +++ b/src/yb/docdb/pgsql_operation.cc @@ -111,7 +111,7 @@ DEFINE_test_flag(int32, slowdown_pgsql_aggregate_read_ms, 0, // Disable packed row by default in debug builds. constexpr bool kYsqlEnablePackedRowTargetVal = !yb::kIsDebug; -DEFINE_RUNTIME_AUTO_bool(ysql_enable_packed_row, kLocalPersisted, +DEFINE_RUNTIME_AUTO_bool(ysql_enable_packed_row, kExternal, !kYsqlEnablePackedRowTargetVal, kYsqlEnablePackedRowTargetVal, "Whether packed row is enabled for YSQL.");