You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/08/19 08:43:51 UTC

[GitHub] [hadoop] ZanderXu commented on pull request #4560: HDFS-16659. JournalNode should throw CacheMissException when SinceTxId is bigger than HighestWrittenTxId

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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org