Janus Chow created HDDS-6322:
--------------------------------

             Summary: Recon get incorrect delta update
                 Key: HDDS-6322
                 URL: https://issues.apache.org/jira/browse/HDDS-6322
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Janus Chow
            Assignee: Janus Chow


This bug was imported in HDDS-6215, the root cause is we used 
`dbUpdates.getData().size()` to accumulate the sequenceNumber. But these two 
terms are different, a DBUpdates with data size of 10 could have a difference 
of sequenceNumber of 30 or more.

 

The bug can be reproduced by adding the following configurations and running 
`TestReconWithOzoneManager`.
{code:java}
    conf.setLong(RECON_OM_DELTA_UPDATE_LIMIT, 2);
    conf.setLong(RECON_OM_DELTA_UPDATE_LOOP_LIMIT, 10); {code}
 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to