Details
Description
General logic of metastorage is that it supports multiple versions for the same key corresponding to different timestamps.
At the same time there is a concept of a low watermark - a moment in time when all timestamps falling below that mark become obsolete and can be pruned from Metastorage.
We need to implement a mechanism to compact Metastorage to remove obsolete keys. At the same time some components may rely on availability of history of key's versions.