美文网首页
influxdb delete数据engine is clos

influxdb delete数据engine is clos

作者: 刘以浩 | 来源:发表于2018-09-18 18:00 被阅读0次

    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 clos

          本文链接:https://www.haomeiwen.com/subject/amhmnftx.html