nirdosh0110 commented on PR #8584: URL: https://github.com/apache/hbase/pull/8584#issuecomment-5540999057
> Can we do this while closing of the region instread of opening the region? > > Looks like SCP just after the region closing is creating these recovered.edits files as RS report the flushed seq id in it heartbeats. Corrent me if I am wrong. CLOSE-time seeding alone doesn't cover the crash path — if the RS dies, there's no close report to seed from, so the watermark stays stale and SCP walks with the wrong fence. Doing it at OPEN time covers both cases: a graceful close-then-reopen and a crash-then-reopen-elsewhere both go through OPEN, and `openSeqNum` at that point is already bumped past the close marker, so it's the strongest fence we can install. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
