Skip to content

Commit aa52db8

Browse files
authored
Fix show queue counters to only run on default namespace (#3865)
What I did show queue counters is supported and runs on host instance, even for mult-asic platforms. We don't have to run show queue counters for each asic namespace. This fixes #22394 How I did it Modifiy generate_dump to call save_cmd instead of save_cmd_all_ns for show queue counters How to verify it Run show techsupport on multi-asic platform. Verfiy that the queue.counters files show correct information.
1 parent 2c81943 commit aa52db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate_dump

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2074,7 +2074,7 @@ save_counter_snapshot() {
20742074
save_cmd "echo $counter_t" "date.counter_$idx"
20752075
save_cmd "show interface counters" "interface.counters_$idx"
20762076
if ! $IS_SUPERVISOR; then
2077-
save_cmd_all_ns "show queue counters" "queue.counters_$idx"
2077+
save_cmd "show queue counters" "queue.counters_$idx"
20782078
fi
20792079
save_redis "COUNTERS_DB" "COUNTERS_DB_$idx"
20802080

0 commit comments

Comments
 (0)