iilyak opened a new issue #1263: Add logging for crashes in 
`commit_compaction_data`
URL: https://github.com/apache/couchdb/issues/1263
 
 
   Crash in `commit_compaction_data` causes severe issues. However it is quite 
hard to figure out what shard it was crashed on. We need to add logging to log 
shard name in case of a crash in the critical function. 
   
   ## Expected Behavior
   
   When `commit_compaction_data` crashes for any reason we should see a message 
in the log which contains the shard name.
   
   ## Current Behavior
   
   There is a crash dump which doesn't contain any useful information to 
identify problematic shard.
   
   ## Possible Solution
   
   Add `try/catch` and log from the `catch`
    
   ## Steps to Reproduce (for bugs)
   
   See 
https://github.com/apache/couchdb/pull/1255/files#diff-b6c880ef1513b1db939914f94786a1a5
   
   ## Context
   
   ## Your Environment
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to