Uh oh!
There was an error while loading. Please reload this page.
HBASE-23696 Stop WALProcedureStore after migration finishes - #1050
HBASE-23696 Stop WALProcedureStore after migration finishes#1050saintstack wants to merge 1 commit into
Conversation
wchevreuil
left a comment
There was a problem hiding this comment.
LGTM, just a question regarding stopping it on the catch body. I had something similar in HBASE-23694 after observing the issues described there, but didn't enclose it in a try/catch.
| throw new IOException("Failed to delete the WALProcedureStore migrated proc wal directory " + | ||
| procWALDir); | ||
| LOG.info("Migration of WALProcedureStore finished"); | ||
| } catch (IOException ioe) { |
There was a problem hiding this comment.
Do we need the catch, or could just stop it on the finally and let the IOE be thrown upwards?
There was a problem hiding this comment.
Sorry @wchevreuil . I only now noticed you'd just put up a fix for the same thing.
On this line, I should have rethrown the caught exception. I wanted to pass in 'true' for abort if exception as opposed to 'false' for the finally block. I might be overthinking it since IIRC, if problem here, we'll crash out the Master. Let me resolve this in favor of yours.
saintstack
commented
Jan 15, 2020
Closing as dupe of HBASE-23696 |
saintstack
commented
Jan 15, 2020
Apache-HBase
commented
Jan 15, 2020
💔 -1 overall
This message was automatically generated. |
No description provided.