You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After enabling tiered storage, occasional residual logs are left in the replica.
Based on the observed phenomenon, the index values of the rolled-out logs generated by the replica and the leader are not the same. As a result, the logs uploaded to S3 at the same time do not include the corresponding log files on the replica side, making it impossible to delete the local logs.
leader config:
By examining the segment logs for that time period in S3 for the topic, it can be observed that the indices of the two are different.
By searching for the residual log index through log analysis, it was found that there were no delete logs on both the leader and replica nodes. However, the logs for the corresponding time period in S3 can be queried in the leader node logs but not in the replica node logs. Therefore, I believe that the issue is due to the different log files generated by the leader and replica nodes.
What did you expect to happen?
What else do we need to know?
The text was updated successfully, but these errors were encountered:
Restarting does not resolve this issue. The only solution is to delete the log folder corresponding to the replica where the log segment anomaly occurred and then resynchronize from the leader.
What happened?
After enabling tiered storage, occasional residual logs are left in the replica.
Based on the observed phenomenon, the index values of the rolled-out logs generated by the replica and the leader are not the same. As a result, the logs uploaded to S3 at the same time do not include the corresponding log files on the replica side, making it impossible to delete the local logs.
leader config:
replica config:
topic config:
By examining the segment logs for that time period in S3 for the topic, it can be observed that the indices of the two are different.
By searching for the residual log index through log analysis, it was found that there were no delete logs on both the leader and replica nodes. However, the logs for the corresponding time period in S3 can be queried in the leader node logs but not in the replica node logs. Therefore, I believe that the issue is due to the different log files generated by the leader and replica nodes.
What did you expect to happen?
What else do we need to know?
The text was updated successfully, but these errors were encountered: