los-cocos / cocos-testcmp

0 stars 1 forks source link

allow to delete a snapshot #8

Open ccanepa opened 3 years ago

ccanepa commented 3 years ago

Allow to delete a snapshot

Sometimes in a situation that starts like in #7 the operator does not interrupt, the transaction completes and the snapshot is in the cache.

Now when the problem is fixed and a rerun is tried, the snapshot session will come from cache, not from a fresh snapshot session.

To fix that, a delete snapshot command should be provided. Exact semantics, as if it should delete the cmps it participates to be decided.

Useful to also delete low value snapshots sessions: once a trivial error in cocos master is fixed, the snapshot is of no use, and deleting it reduces the quantity of data the operator must handle.