ZanderXu commented on PR #4560: URL: https://github.com/apache/hadoop/pull/4560#issuecomment-1220412091
> we could create a new exception different from CacheMissException, like NewerTxnIdException, which the JN throws in the situation of startTxId > highestWrittenTxId @xkrogen Master, thanks for your nice suggestion. About `startTxId = highestWrittenTxId + 1`, this case is common, so it should returns one `JournaledEditsResponse` with `txtCount=0`. if `sinceTxId > highestTxId + 1`, just throw `NewerTxnIdException` and let namenode ignore this abnormal journalnode. I have updated this patch, please help me review this patch. Thanks, Master! -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
