Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: pump 还有剩余空间,但是binlog 写入失败
Could anyone please explain why the binlog fails to write even though there is still some space left in the pump, but not much? Is it because the pump has a similar mechanism to TiKV, where it doesn’t allow data to be written when there is only a little space left?
Check the logs. Additionally, if the pump space was ever full, it will continue to fail to write unless the pump is restarted.
Pump has never been full before. From the monitoring and the tidb.log, it indicates that writing to Pump failed, and the error also says there is no space left. If it had been full before, it would only clear Pump files through GC, but it should not have reached the GC trigger time yet.
Please upload the pump logs to check the error reason.
Thank you, master. The logs are not very convenient to extract. Thank you, master.
The official documentation has it written.
It could be a large transaction, so the estimated space is insufficient and cannot be written. You can estimate it using actual data and transaction size.
It’s not a large transaction; it just has its own space protection mechanism.
Since the write failed, there should be an error in the pump log, or is there a more detailed error in tidb.log? Can you post it?
The tidb.log contains “write binlog pump failed”. The pump.log should also have it, but I haven’t checked it.
pupm.log should indicate why the write failed.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.