Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Option to clean up log files in vacuumIndex #397

@sezruby

Description

@sezruby

Currently, an index was removed & vacuumed, its log files are not removed after that.
So if a new index with the same index name is created, the log number is continued.
It was intended to keep the log files around (compliance reason)(#389 (comment))

However, this might cause some confusion when the new index is completely different from the previous index (index type, source dataset, ..)
For example, when collecting available index versions (#389), irrelevant previous versions can be collected.
Also it's possible that getLatestStableLog refers the previous log if all logs of the current index are not stable.

Therefore, it would be better to provide an option to remove all log files when vacuumIndex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedThis is the default tag for a newly created issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions