liutang123 commented on PR #31687:
URL: https://github.com/apache/doris/pull/31687#issuecomment-1975629108

   > @liutang123 #28192 Can you check your version which met this problem has 
container this pr? the pr 28192 is for solving the problem
   
   I took a look at #28192 and I am not sure can it resolve this case.
   `isReplicaTxnAreMatched` will check the first log in a database, but the 
last log may not be committed to the majority.
   As follows:
   Old master has a databases: 1000 (1000, 1001, 1002,1003, 1004, 1005)
   The old master try to commit log 1005, but only commit it to the observer.
   The new master will create a database 1005(1005, ... ) and the log 1005 in 
this database is `OP_MASTER_INFO_CHANGE `.
   In observer, log 1000 in database 1000 has been commited in majority but log 
1005 may just persisted in local dist and may be read and replay?


-- 
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: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to