Skip to content

purge happens too early #17

@smortex

Description

@smortex

When purging indices, the oldest index removal seems to occur too early: it's currently 2020-04-12 23:49:28 UTC, and samplerr is configured to keep 3 days of metrics at a daily resolution, I therefore expect the daily indices to be:

  • .samplerr-2020.04.10
  • .samplerr-2020.04.11
  • .samplerr-2020.04.12

Yet, I only see:

health status index                uuid                   pri rep docs.count docs.deleted store.size pri.store.size
green  open   .samplerr-2020.04.11 rz7tfYB1S4aug-9aKbWYEA   1   0   11269010            0      1.2gb          1.2gb
green  open   .samplerr-2020.04.12 Z1L6rfUoTtGt4AWhPQpF5Q   1   0   11203988            0      1.2gb          1.2gb

According to the log file (Europe/Paris time zone), the .samplerr-2020.04.10 index was removed at 2020-04-12 21:42:27 UTC:

INFO [2020-04-12 23:42:27,337] Thread-7 - riemann.plugin.samplerr - delete index .samplerr-2020.04.10

I would expect .samplerr-2020.04.10 not to be removed before 2020-03-13 00:00:00 UTC in such conditions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions