Skip to content

[C#] CommitFailureException #591

@jmasek

Description

@jmasek

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions