You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I use FASTER as key-value cache with restore it after re-run application.
And I have a problem with disk space.
Steps to reproduce
Create store
var config = new FasterKVSettings<Key, Value>(baseDir)
{
TryRecoverLatest = true,
RemoveOutdatedCheckpoints = true,
MemorySize = 1L << 10,
PageSize = 1L << 9,
EqualityComparer = new Key.Comparer()
};
var store = new FasterKV<Key, Value>(config);
Upsert values to store
using var session = store.NewSession(new SimpleFunctions<Key, Value>());
var random = new Random();
for (var ii = 0; ii < 100; ii++)
{
var key = new Key(ii % keyMod);
var value = new Value(key.key + random.Next(keyMod));
session.Upsert(key, value);
}
Hi.
I use FASTER as key-value cache with restore it after re-run application.
And I have a problem with disk space.
Steps to reproduce
Result
File hlog.obj.log.0 grow after each iteration.
And we confised because in each iteration we upsert same keys.
I read documentation about checkpoint and do not found how fix it.
This is .gif about problem
This is repo with code with promlem
https://github.com/Kosmikos/FASTERLogGrowth
Please explain what I'm doing wrong
The text was updated successfully, but these errors were encountered: