drainer: can't send request correctly to pump when set compressor=gzip
#1152
Closed
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
-
What did you do?
If possible, provide a recipe for reproducing the error.
Start a TiDB cluster and setcompressor=grip
in drainer's config. -
What did you expect to see?
Drainer can replicate data correctly. -
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\":{}}"]
- Please provide the relate downstream type and version of drainer.
(rundrainer -V
in terminal to get drainer's version)
v5.2.3