* Add a new state 'isSynchronizingSyncStateSet' to Solve the problem of missing messages
* pass checkstyle
* Using readWriteLock to replace synchronized in AutoSwitchHAService
* Fix lock issue
* Remove unnecessary 'remoteSyncStateSet.clear'
* optimize import
* fix: dledger commit log should override the getData
Change-Id: I665c5b9d7e96c5b7ccd035b32272be7223d7f454
* fix: adjust timer test case for dledger
* test: remove some test case to speed up unit test
Change-Id: I5aa348ab17977ce1f0e080f7801b28797ef82af9
* test: remove other timer dledger test
* Revert TimerMessageStoreTest
---------
Co-authored-by: liwen.2022 <liwen.2022@bytedance.com>
Co-authored-by: RongtongJin <jinrongtong16@mails.ucas.ac.cn>
* Shutdown flowMonitor when connection disconnect
* Whether the master is existed has more accurate judgment
* Shutdown flowMonitor when HAClient service end
* Pass the check style
* Modify according to comments
* style(store): optimize some typos in store module
1. optimize some typos in store module
* style(store): rename DefaultHAClient#REPORT_HEADER to DefaultHAClient#REPORT_HEADER_SIZE
1. rename DefaultHAClient#REPORT_HEADER to
DefaultHAClient#REPORT_HEADER_SIZE
* style(store): optimize comment about DefaultHAClient#REPORT_HEADER_SIZE and DefaultHAConnection#TRANSFER_HEADER_SIZE
1. optimize comment about DefaultHAClient#REPORT_HEADER_SIZE and
DefaultHAConnection#TRANSFER_HEADER_SIZE
* deprecate MessageStore#checkInDiskByConsumeOffset and add checkInMemByConsumeOffset and checkInStoreByConsumeOffset in MessageStore
* skip initializing isLoaded0 method in windows
* Fix the issue that the slave role does not initialize the transientPool in controller mode
* Format the checkstyle
* Remove the useless import
* Fix the HA transmission disconnection issue when transientStorePoolEnable is true
* just test
* just test
* just test
* just test
* just test
* just test
* just test
* just test
* just test
* Format the check style
* Format the check style
* Fix compilation warning
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
* Skip unstable test case HATest#testSemiSyncReplicaWhenSlaveActingMaster on macOS
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
* [RIP-57] Add asynchronous interfaces to MessageStore
* fix unit test
* Modified according to review comments
* Remove unnecessary stubbing
* Add some other methods to MessageStore
* fix bazel test
* Skip failing test case
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>