-
Notifications
You must be signed in to change notification settings - Fork 21
Why did not released hdd space after deleteSnapshots? #41
Comments
Yes, EventStore is an immutable append only storage. |
To be fair it is not immutable scavenge can recover space of things you
decide to delete.
…On Fri, Feb 23, 2018 at 1:49 PM, Yaroslav Klymko ***@***.***> wrote:
Yes, EventStore is a immutable append only storage.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXRWh58BLlEJeWC9yJ20aqKVdhseKpYks5tXsHmgaJpZM4SQYjl>
.
--
Studying for the Turing test
|
This leads to the inability to use the ES through EventStore.Akka.Persistence in production. In my case with frequent snapshots I have 25% for bussines events and 75% for snapshot events with a simple test. |
@AndreyLadniy you still can set up different storage for snapshots, and keep using event store for events |
Why do you need your old snapshots? Is something as simple as setting maxCount on snapshot streams enough for you? |
@t3hnar Thanks, I already thought about it, if no solutions can be made with the the ES and do it so. |
@AndreyLadniy could you please double check, there should be separate snapshot stream per persistenceId |
I try use |
This is correct. You can also use maxAge to keep snapshots for a given
period of time.
…On Mon, Feb 26, 2018 at 10:33 AM, Andrey Ladniy ***@***.***> wrote:
I try use maxCount for every snapshot stream. maxCount hides old
snapshots, but uses hdd space which releases with scavege only.
So deleteSnapshots can't be used as a part of akka-persistence (for disk
space releasing), but deletion can be done with ES side with manual
updating maxCount and periodic scavenge
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXRWtdVg4YmCdZQUv3CdMgMXFc7aUYeks5tYoh2gaJpZM4SQYjl>
.
--
Studying for the Turing test
|
I try use deleteSnapshots but only have incresed space usage. I can't undestand, plugin only stores additional
DeleteEvent
and don't delete it from the stream in fact?EventStore.Akka.Persistence/src/main/scala/akka/persistence/eventstore/snapshot/EventStoreSnapshotStore.scala
Line 66 in 35f1444
The text was updated successfully, but these errors were encountered: