Need info regarding transaction recovery completion


Radhika Kundam
 
Edited

Hi Team,

I am using JanusGraphFactory.startTransactionRecovery to recover secondary failure entries.
We need to perform some other action once recovery is completed, I couldn't find any API to know the status of recovery.
Is there any way to know if the recovery of all the failure entries is completed.

I would appreciate you help.

Thanks,
Radhika


Boxuan Li
 

Hi Radhika,

Unfortunately, there is no such API. If you are willing to dive into JanusGraph source code, you can modify StandardTransactionLogProcessor::fixSecondaryFailure method and build JanusGraph by yourself.

You are also welcome to create a feature request on GitHub issues. Probably we should allow users to register a callback method when recovery is done.

Best,
Boxuan



Radhika Kundam
 

Thank you Boxuan for the response. I will create a feature request.

Regards,
Radhika