@@ -87,24 +87,16 @@ public class CommandFlagsRegistryGenerator {
8787 private static final Map <String , CommandMetadata > MANUAL_OVERRIDES = new LinkedHashMap <>();
8888 static {
8989 // Override INFO: change request policy from ALL_SHARDS to DEFAULT
90- // Reason: SPECIAL Response not yet supported in the library and defaults to return single
91- // result INFO should be executed on a single node, not broadcast to all shards
92- MANUAL_OVERRIDES .put ("INFO" , new CommandMetadata (Arrays .asList ("loading" , "stale" ), "default" , // request_policy:
93- // DEFAULT
94- // instead
95- // of
96- // ALL_SHARDS
97- "special" )); // response_policy: SPECIAL (preserve from server metadata)
90+ // Reason: SPECIAL response policy not yet supported in the library and defaults to return
91+ // single result INFO should be executed on a single node, not broadcast to all shards
92+ MANUAL_OVERRIDES .put ("INFO" ,
93+ new CommandMetadata (Arrays .asList ("loading" , "stale" ), "default" , "special" ));
9894
9995 // Override FUNCTION STATS: change request policy from ALL_SHARDS to DEFAULT
100- // Reason: FUNCTION STATS should be executed on a single node, not broadcast to all shards
101- // Note: response_policy is SPECIAL (for custom aggregation of function stats from single node)
96+ // Reason: SPECIAL response policy not yet supported in the library and defaults to return
97+ // single result FUNCTION STATS should be executed on a single node, not broadcast to all shards
10298 MANUAL_OVERRIDES .put ("FUNCTION STATS" ,
103- new CommandMetadata (Arrays .asList ("noscript" , "allow_busy" ), "default" , // request_policy:
104- // DEFAULT
105- // instead of
106- // ALL_SHARDS
107- "special" )); // response_policy: SPECIAL (preserve from server metadata)
99+ new CommandMetadata (Arrays .asList ("noscript" , "allow_busy" ), "default" , "special" ));
108100 }
109101
110102 /**
0 commit comments