Skip to content

drainer: can't send request correctly to pump when set compressor=gzip #1152

Closed
@lichunzhu

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    Start a TiDB cluster and set compressor=grip in drainer's config.

  2. What did you expect to see?
    Drainer can replicate data correctly.

  3. What did you see instead?
    Drainer fails to pull binlogs from pump. Pump can't read request correctly:
    pump.log:

[2022/03/22 19:29:34.971 +08:00] [DEBUG] [server.go:271] ["get PullBinlogs request"] [request="{\"startFrom\":{}}"]
[2022/03/22 19:29:34.971 +08:00] [DEBUG] [server.go:273] ["PullBinlogs request quit"] [request="{\"startFrom\":{}}"]
  1. Please provide the relate downstream type and version of drainer.
    (run drainer -V in terminal to get drainer's version)
    v5.2.3

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions