influxdb delete数据engine is close错误

influxdb源码中相关错误变量注释

// ErrEngineClosed is returned when a caller attempts indirectly to
// access the shard's underlying engine.
ErrEngineClosed = errors.New("engine is closed")

最终猜测是没有开启数据库引擎

# 修改配置文件/etc/influxdb/influxdb.conf
[data]
  dir = "/var/lib/influxdb/data"
  engine = "tsm1"
# 重启数据库
service influxdb restart

influxdb配置文件说明

# https://docs.gitlab.com/ee/administration/monitoring/performance/influxdb_configuration.html

你可能感兴趣的:(influxdb delete数据engine is close错误)