DM 7.1.1 reports `batch write rows reach max retry 3 and still failed: invalid connection` during the load phase

| username: dba-kit | Original post link

Uh, it’s not a BUG, it’s an issue with the downstream database parameter configuration. When testing DM synchronization to see if MySQL → MySQL synchronization is possible, I temporarily used a Docker image. The default configuration for max_allowed_packet is 4194304, and both of these records exceed 4M, so the insertion failed. After adjusting max_allowed_packet to 1GB, this table was successfully imported.