pd icon indicating copy to clipboard operation
pd copied to clipboard

Some fields of expected primary log are useless

Open rleungx opened this issue 6 months ago • 0 comments

Enhancement Task

[2024/08/22 11:39:11.129 +08:00] [INFO] [expected_primary.go:62] ["set expected primary flag"] [primary-path=/ms/7405803289801094008/tso/keyspace_groups/election/00001/primary/expected_primary] [leader-raw="\n\u001chttp://127.0.0.1:46749-00001\u0010\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0001\u001a\u0016http://127.0.0.1:46749"]
[2024/08/22 11:39:11.311 +08:00] [INFO] [global_allocator.go:573] ["skip campaigning of tso primary and check later"] [server-name=http://127.0.0.1:41479-00001] [expected-primary-id="\n\u001chttp://127.0.0.1:46749-00001\u0010\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\u0001\u001a\u0016http://127.0.0.1:46749"] [member-id=6823735311503990540] [cur-memberValue="\n\u001chttp://127.0.0.1:41479-00001\u0010\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd^\u001a\u0016http://127.0.0.1:41479"]

The log fields with Unicode are not readable.

rleungx avatar Aug 22 '24 03:08 rleungx