Occasional ErrorDBTransactionConflict
if the agent is left running for a while
#353
Labels
bug
Something isn't working
Describe the bug
A database transaction conflict means that two transactions are attempting to modify the same value in the database. This is bad, as the two modifications can generate a conflict. That is why this error is raised in the first place.
The log specifies where the warning was raised in -
Discovery.checkForRediscoveryHandler
. As such, an operation is being performed in the handler in which multiple transactions are modifying the same resource. This is most likely a logic error and must be resolved.Do note that allowing the handler to continue running doesn't see this error to happen again. It has been over three days since the last message, and nothing has popped up yet. The rediscovery handler should have run after three days. My laptop has been sleeping for a while, so that could be the reason that the rediscovery time was skipped.
To Reproduce
Expected behavior
The DB conflict shouldn't happen
Logs
Additional context
Notify maintainers
@tegefaulkes
The text was updated successfully, but these errors were encountered: