error type 6表示消息格式不正确。请检查一下您的代码。
附:各IO错误类型描述如下:
1 Socket is disconnected/closed or file is closed.
2 In non-blocking socket mode, there is no data ready for retrieval yet.
3 Out of memory, no disk space, or no buffer for sending data in non-blocking socket mode.
4 String size exceeds 64K or code size exceeds 1 MB during serialization over network.
5 In non-blocking socket mode, a program is in pending connection mode.
6 Invalid message format.
7 Reach the end of a file or a buffer.
8 File is readable but not writable.
9 File is writable but not readable.
10 A file doesn't exist or the socket destination is not reachable.
11 The database file is corrupted.
12 Not the leader node of the RAFT protocol.
13 Unknown IO error.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…