Hello! We are using rocketmq3.2.6 and recently found an MQ cluster (double master and no slave, starting the broker based on the 2m-2s-Async broker-a configuration file in the default configuration file directory, Just change brokerName (broker-A on one side, Broker-B on the other), brokerIP configuration, and use configuration file defaults for the rest. 2021-10-09 16:30 is displayed as the change time of most files in the commitlog directory of broker-B (the file is decompressed from Linux server tar) :
Parsed the files: 00000000010737418240 Stores the messages between Oct 04 11:00:33 CST 2021 and Oct 04 23:18:15 CST 2021. The value of getReconsumeTimes is 0. 00000000012884901888 Stores messages between Oct 05 10:58:00 CST 2021 and Oct 06 06:04:32 CST 2021. The value of getReconsumeTimes in all messages is 0. 00000000013958643712 The file stores messages between Oct 06 06:04:32 CST 2021 and Oct 06 22:20:29 CST 2021. The value of getReconsumeTimes in all messages is 0. 00000000015032385536 The file stores messages between Oct 06 22:20:29 CST 2021 and Oct 07 12:01:39 CST 2021. The value of getReconsumeTimes in all messages is 0. 00000000016106127360 Stores messages between Oct 07 12:01:39 CST 2021 and Oct 08 06:05:05 CST 2021. The value of getReconsumeTimes is 0. 00000000017179869184 The file stores the messages between Oct 08 06:05:05 CST 2021 and Oct 08 22:58:50 CST 2021. The value of getReconsumeTimes is 0. 00000000018253611008 The file stores messages between Oct 08 22:58:50 CST 2021 and Oct 09 16:30:41 CST 2021. The value of getReconsumeTimes in all messages is 0. 00000000019327352832 The file is empty Find store.log log output: 2021-10-09 03:59:22 INFO FlushCommitLogService - how much disk fall behind memory, 294 2021-10-09 03:59:40 INFO StoreStatsService - put_tps 0.24996667111051862 2021-10-09 03:59:40 INFO StoreStatsService - get_found_tps 0.049993334222103725 2021-10-09 03:59:40 INFO StoreStatsService - get_miss_tps 788.4115451273163 2021-10-09 03:59:40 INFO StoreStatsService - get_transfered_tps 0.049993334222103725 2021-10-09 04:00:04 INFO StoreScheduledThread1 - it's time to reclaim disk space, 04 2021-10-09 04:00:04 INFO StoreScheduledThread1 - begin to delete before 48 hours file. timeup: true spacefull: false manualDeleteFileSeveralTimes: 0 cleanAtOnce: false 2021-10-09 04:00:04 INFO StoreScheduledThread1 - unmap file[REF:0] /u01/app/kpnful/store/commitlog/00000000009663676416 OK 2021-10-09 04:00:04 INFO StoreScheduledThread1 - close file channel /u01/app/kpnful/store/commitlog/00000000009663676416 OK 2021-10-09 04:00:04 INFO StoreScheduledThread1 - delete file[REF:0] /u01/app/kpnful/store/commitlog/00000000009663676416 OK, W:1073741824 M:1073741824, 8 2021-10-09 04:00:04 INFO StoreScheduledThread1 - unmap file[REF:0] /u01/app/kpnful/store/commitlog/00000000011811160064 OK 2021-10-09 04:00:04 INFO StoreScheduledThread1 - close file channel /u01/app/kpnful/store/commitlog/00000000011811160064 OK 2021-10-09 04:00:04 INFO StoreScheduledThread1 - delete file[REF:0] /u01/app/kpnful/store/commitlog/00000000011811160064 OK, W:1073741824 M:1073741824, 8 Two files 00000000009663676416 and 00000000011811160064 were deleted at 04am of 2021-10-09, but 00000000010737418240 was not deleted. Want to consult the following questions: 1. When 2021-10-09 is 4, store. Log shows that 00000000009663676416 and 00000000011811160064 files have been deleted. What is the built-in logic of this that would cause this to happen? 2. When can the modification time of 00000000010737418240, 00000000013958643712 to 00000000018253611008 files be changed and displayed with the same value at the same time? 3. The default deletion time of commitlog files is 2 days. Compare the saving time of saved messages in the files and find out what conditions may cause the deletion. Did not delete 00000000012884901888, 00000000013958643712, 00000000015032385536 file at 4 o 'clock on 10-09?
