Making operations that hang indefinitely more visible
Hi Team,
It would be useful for some kind of timeout message to be implemented if an operation is waiting on commitQuorum - say wait an hour and then return an error message with "Can't perform operation, required number of commitQuorum members not available to process this operation" or something similar. I don't think a command should hang indefinitely, and it can also help both customers and support for the analysis of this kind of issues.
Thanks in advance
2
votes
Frederik
shared this idea
-
Justin Bennett commented
Or alternatively, log a message to mongod.log every 5-10 minutes saying something like "Operation xxxx waiting on commitQuorum...". Anything to indicate what the operation is waiting on.