Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # dev >> A question for txid

Copy link to this message
A question for txid
Hi dear All,

It's long type for the txid currently,


boolean loadFSImage(FSNamesystem target, MetaRecoveryContext recovery)
    throws IOException{

  editLog.setNextTxId(lastAppliedTxId + 1L);

Is it possible that (lastAppliedTxId + 1L) exceed Long.MAX_VALUE ?