grange
grange copied to clipboard
When `%{has(HOST;foo)}` doesn't return any result `d%{has(HOST;foo)}:KEYS` returns a bunch of things
The following range query returns no data:
$ er -e '%{has(HOST;foo)}'
[WARNING] No nodes returned
However, appending :KEYS returns some data:
$ er -e '%{has(HOST;foo)}:KEYS'
...
This behavior is a little confusing, there could be a bug somewhere?
This may or may not be a bug :)
%{} is shorthand for %{}:CLUSTER, if there are no entries in CLUSTER (or: KEYS does not include CLUSTER) then the behaviour you describe is expected. Please re-open with more data! (Or suggestions for making more clear in https://godoc.org/github.com/xaviershay/grange )
I take it back, something fishy is going on here. At first glance, appears to be returning GROUPS keys!? Will try and get a repro in range-spec.