Commit ad448bc
Pipe: Prevent duplicate error logging in AsyncPipeDataTransferServiceClient (#16856)
* Fix: Prevent duplicate error logging in AsyncPipeDataTransferServiceClient
- Change printLogWhenEncounterException from final to mutable field
- Set printLogWhenEncounterException to false in onError() to avoid repeated error logs
- This prevents flooding logs when client encounters errors
* update
(cherry picked from commit f4d628a)1 parent bb55dd6 commit ad448bc
File tree
2 files changed
+7
-1
lines changed- iotdb-core
- datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/thrift/async/handler
- node-commons/src/main/java/org/apache/iotdb/commons/client/async
2 files changed
+7
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
0 commit comments