Thanks to visit codestin.com
Credit goes to github.com

Skip to content

コミットログのコンパクション処理 #81

@totegamma

Description

@totegamma

最近(どのくらい?)のデータはauditのために残しておくべきだが、過去データのうち無駄なものは削減してよい
ここでいう無駄なものとは、

  • 削除ドキュメントとそれにより削除された該当ドキュメントのログ
  • 更新系ドキュメントにより更新された古いドキュメントのログ
  • isEphemeralフラグが有効になっているオートメーション等によるドキュメントのログ

を指す。

バッチ処理等で、過去のデータを順番に照合し、こういったログをDBから抜く処理がほしい。

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