Commit c442d4c
committed
fix potential ByteBuffer leak problem
When the worker waits for the response to time out and the netty RPC thread deletes the future from the future map before the worker thread, the response's bytebuf is not released
Link: https://code.alibaba-inc.com/oceanbase/obkv-table-client-java/codereview/12756098
* [Doc] update readme
1. use partition table in example
2. add link for deploying config server
3. add Chinese doc link
* fix potential ByteBuffer leak problem
- When the worker waits for the response to time out and the netty RPC thread deletes the future from the future map before the worker thread, the response's bytebuf is not released
* fix potential ByteBuffer leak problem
- When the worker waits for the response to time out and the netty RPC thread deletes the future from the future map before the worker thread, the response's bytebuf is not released
* fix potential ByteBuffer leak problem
- When the worker waits for the response to time out and the netty RPC thread deletes the future from the future map before the worker thread, the response's bytebuf is not released
* fix potential ByteBuffer leak problem
- When the worker waits for the response to time out and the netty RPC thread deletes the future from the future map before the worker thread, the response's bytebuf is not released
* fix potential ByteBuffer leak problem
- When the worker waits for the response to time out and the netty RPC thread deletes the future from the future map before the worker thread, the response's bytebuf is not released1 parent 7f4ad14 commit c442d4c
File tree
1 file changed
+28
-5
lines changed- src/main/java/com/alipay/oceanbase/rpc/bolt/transport
1 file changed
+28
-5
lines changedLines changed: 28 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
37 | 47 | | |
38 | 48 | | |
39 | 49 | | |
| |||
46 | 56 | | |
47 | 57 | | |
48 | 58 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
54 | 72 | | |
55 | 73 | | |
56 | 74 | | |
| |||
69 | 87 | | |
70 | 88 | | |
71 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
72 | 95 | | |
73 | 96 | | |
74 | 97 | | |
| |||
0 commit comments