gchq / sleeper

A cloud-native, serverless, scalable, cheap key-value store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Index files and partitions in compaction strategy code

kr565370 opened this issue · comments

Background

Split from:

Description

We would like to stop the compaction strategy code from creating multiple duplicate data structures.

Analysis

We can create a class that holds an index of all files with job IDs and without job IDs in each partition, and pass this around the compaction strategy code.