Graylog2/graylog2-server

Empty indices are incorrectly included in the search target

Open

#6,016 创建于 2019年6月16日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Java (1,032 fork)batch import
bugelasticsearchgood first issuetriaged

仓库指标

Star
 (6,945 star)
PR 合并指标
 (平均合并 8天 19小时) (30 天内合并 297 个 PR)

描述

Empty indices are INCORRECTLY included in the search target

Expected Behavior

Only indices with messages should be targeted

Current Behavior

Empty indices are INCORRECTLY targeted in EVERY search

Steps to Reproduce (for bugs)

  1. Make sure that you have at least one empty index which is NOT active write index
  2. Make a search using what ever settings you like
  3. Empty index is included in the search target

Screen Shot 2019-06-16 at 19 31 20

Screen Shot 2019-06-16 at 19 32 21

Screen Shot 2019-06-16 at 19 32 06

Context

Confuses user when it seems that a simple queries might seem to target multiple indices

Your Environment

  • Graylog Version: 3.0.1
  • Elasticsearch Version: 6.7.2
  • MongoDB Version: 4.0.7
  • Operating System: CentOS 7
  • Browser version: Safari

贡献者指南