When a paused actor is suspended with onPause: FULL and onCommit: DATA, atelet takes the FULL pause snapshot and uploads only durable-dir.tar from it as the DATA snapshot.
To do that, atelet has to know the file name both ateoms write, this could leave a time bomb for the future if we change the pattern ateom writes sometime.
If atelet wants a DATA snapshot, it should take a DATA snapshot, instead of reusing the FULL snapshot and extracting from it.
Dmitry Berkovich (@dberkov) Michelle Au (@msau42) cc Benjamin Elder (@BenTheElder)
When a paused actor is suspended with
onPause: FULLandonCommit: DATA, atelet takes the FULL pause snapshot and uploads onlydurable-dir.tarfrom it as the DATA snapshot.To do that, atelet has to know the file name both ateoms write, this could leave a time bomb for the future if we change the pattern ateom writes sometime.
If atelet wants a DATA snapshot, it should take a DATA snapshot, instead of reusing the FULL snapshot and extracting from it.
Dmitry Berkovich (@dberkov) Michelle Au (@msau42) cc Benjamin Elder (@BenTheElder)