Open stubbsta opened 3 weeks ago
@AlbertoSoutullo
@SionoiS and @chaitanyaprem this also relates to my question about getting the time that a message is inserted into the DB. Perhaps the "message archived" log could include an "inserted time" or something like that.
Background
There is no log to clarify that there was an attempt to archive a message, but it failed.
Details
The current logs when a store node archives a single message are:
It is assumed that the log "message archived" verifies that archiving was successful, but if the message is already in the DB, then no message is archived even though the "message archived" log is still present. The log needs to make it clear whether archiving worked or not.
When running a store node with store sync enabled, it is more clear when there is message duplication, because the "archive message" log is followed by these logs:
Acceptance criteria
Modify the log or add an additional log to identify if there was an error.