-
Notifications
You must be signed in to change notification settings - Fork 591
Description
Hi,
we are using FasterLog as a message queue between producer and consumer. In addition to producer and consumer, there is a routine that periodically commits the FasterLog (every 1000ms to prevent losing data in case there are too few data to trigger automated commit).
Our software runs on circa 20k computers around the world on diverse hardware. We are observing the following exception (with various address ranges).
Exception : FASTER.core.CommitFailureException: Commit of address range [576352-576584] failed with error code 1
at FASTER.core.Utility.SlowWithCancellationAsync[T](Task`1 task, CancellationToken token, Boolean useSynchronizationContext, Boolean continueOnCapturedContext)
at FASTER.core.FasterLog.CommitAsync(CancellationToken token)
The commit is retried and retries succeed. We are getting about 100 of these exceptions from various computers every day so it is not a big problem.
In addition to the stack trace, we have added the logging that might help. Please note that the debug information is gathered after catching the exception.
Commiter Error. Begin: 576352, Flushed Until: 576584, Tail Address: 576584: Error: FASTER.core.CommitFailureException: Commit of address range [576352-576584] failed with error code 1
where begin is FasterLog.BeginAddress flushedUntil FasterLog.FlushedUntilAddress, tail address FasterLog.TailAddress.
Could you suggest to us what could cause these exceptions - error 1 is not telling me much and I was not able to determine what could be the root cause?