Code

When querying services/metrics skip hosts without such children.
authorSebastian Harl <sh@tokkee.org>
Tue, 30 Sep 2014 14:40:52 +0000 (07:40 -0700)
committerSebastian Harl <sh@tokkee.org>
Tue, 30 Sep 2014 17:29:41 +0000 (19:29 +0200)
commitef3e099a424694e6247252a40c7b3be343f3cebd
treed8d8a5af48541745362c1f26f97d4f2992e46669
parentfe955daaa2d004ee7f1428a0f7e32e63601ddfee
When querying services/metrics skip hosts without such children.

This takes into account any filters and, thus, might mean that filters have to
be evaluated multiple times: once for determining if there are any children
and then again while serializing the data. This is because filtering happens
during serialization at which point it's too late to skip a host.
src/core/store.c
src/frontend/query.c
src/include/core/store.h
t/integration/simple_query.sh