Skip to content

[BUG] Delete over size data, binlog stoped #182

@0xLeeL

Description

@0xLeeL

Bug Description

error log: error uploading records: HTTPDriver for http://10.8.0.1:8123 received ClickHouse error code 62 Code: 62. DB::Exception: Syntax error: failed at position 262144 ('52') (line 2, col 262143): 52. Max query size exceeded: '52'. (SYNTAX_ERROR) (version 23.7.4.5 (official build))

Steps to Reproduce

  1. when mysql delete over size data, for example trucate a table exiting 5m records data

Expected Behavior

binlog sync normally

Actual Behavior

binlog sync stoped

Environment

  • mysql_ch_replicator version: latest
  • Operating System: ubuntu 24
  • Python version: 3.11

MySQL Configuration

# Paste your MySQL configuration here (my.cnf or similar)
binlogformat is `row`

I already fixed this bug. I want a pr to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions