Skip to content

gitaly: Add a hook before storing the log index

In TransactionManager tests, we don't have any way to test situations wherein a log entry has been applied, but before storing the log index, the TransactionManager fails.

To test such scenarios, lets add a new hook beforeStoreApplied, which allows the user to interject the TransactionManager right before storing the log index.

Add some tests around this behavior.

Closes #4818 (closed)

Edited by Karthik Nayak

Merge request reports