You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix INFO all/default/everything returning empty response (#1645)
* Fix INFO all/default/everything returning empty response
Implement support for INFO all, default, and everything options:
- all: returns all DefaultInfo sections excluding module-generated ones
- default: returns the default set of sections (same as no-arg INFO)
- everything: returns all DefaultInfo sections including modules
Added pre-declared HashSet collections (AllInfoSet, EverythingInfoSet)
in GarnetInfoMetrics.cs derived from DefaultInfo to support these options.
Updated InfoCommand.cs to use UnionWith with the new HashSets instead of
silently skipping the ALL keyword.
Added tests for all three options, verifying correct section inclusion/exclusion.
Fixes#1643
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* make everything option use DefaultInfo
* Add null/empty guard in GetSectionHeaders test helper
Adds explicit asserts before splitting INFO output so test failures
surface a clear message instead of a NullReferenceException.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* wip; restructuring cluster tests to reduce CI duration
* separate dispose from close and configure socket to allow rapid connect
* ensure socket is disposed succesfully
* fix failing test
* update global.json
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments