Uh oh!
There was an error while loading. Please reload this page.
HBASE-22940 Fix snapshot NoNode error - #715
Conversation
Apache-HBase
commented
Oct 12, 2019
🎊 +1 overall
This message was automatically generated. |
wchevreuil
left a comment
There was a problem hiding this comment.
Are you sure the error is not due a znode expiration or watcher missing expiration? I'm not sure adding extra RSes as members would sort it, the isSnaphsotDone would be called for members only, right? Can we also have tests that reproduce the condition and assert the proposed fix?
| Procedure proc = coordinator.startProcedure(this.monitor, this.snapshot.getName(), | ||
| this.snapshot.toByteArray(), Lists.newArrayList(regionServers)); | ||
| this.snapshot.toByteArray(), master.getServerManager().getOnlineServersList() | ||
| .stream().map(ServerName::toString).collect(Collectors.toList())); |
There was a problem hiding this comment.
Do we really want to specify RSes potentially not having anything to do with the snapshot as an acquiring member?
There was a problem hiding this comment.
The problem is that all the RSes will add themselves to zk as acquired/reached, but Procedure only set those where the table regions on as barriers. So if all barriers reached, snapshot root node will be deleted, but the none barrier RSes may write on it and throw exception.
There was a problem hiding this comment.
the isSnaphsotDone would be called for members only, right?
I don't think so. It's just get the Procedure status.
You can see more details in the issue report.
saintstack
commented
Jan 2, 2020
Should this go in @wchevreuil ? |
Apache-HBase
commented
May 22, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 23, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 23, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 23, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 23, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 23, 2020
🎊 +1 overall
This message was automatically generated. |
saintstack
commented
Jun 5, 2020
See comment above @wchevreuil |
No description provided.