Commit 250e34b
【Rpc】: RPC Column Compression (V0.1) (#15438)
* Added RPC columnEncoder(Rle,Plain) and MetaHead.java
* Improve RpcEncoder logic.
* decoder
* RPC compressed: The column encoding and decoding of the Plain method is performed correctly.
* Implement the initial full-data compression logic for RPC.
* Refine RPC compression logic
* Fix the BufferUnderflowException in ByteBuffer usage.
* add Corilla columnar encoding/decoding logic
* add chimp columnar encoding/decoding logic
* add Zigzag columnar encoding/decoding logic
* add Sprintz columnar encoding/decoding logic
* add RLBE columnar encoding/decoding logic
* add Dictionary columnar encoding/decoding logic
* add TS_2DIFF columnar encoding/decoding logic
* add RPC columnar decompression and decoding for monitoring data
* Refactor the encoding and compression structure.
* Add RPC test cases
* Fix code structure
* Fix the metric collection issue for RPC compression.
* remove gen-java code.
* refactor compression
* add test
* Remove generated code
* Remove unused class
* Fix compatibility of PlainEncoder for binary
* fix int32 incompatitbility
* fix date incompatibility
* fix null date
* spotless
* revert changes regarding compact protocol
* refactor configurations
* fix compression
* fix test
* fix test
* Set enableCompression to true by default. Add tablet compression min size.
* fix ut
---------
Co-authored-by: Tian Jiang <jt2594838@163.com>1 parent 19810e5 commit 250e34b
28 files changed
Lines changed: 1345 additions & 83 deletions
File tree
- integration-test/src
- main/java/org/apache/iotdb/it/env
- cluster
- remote/env
- test/java/org/apache/iotdb/session/it
- iotdb-client
- cli/src/main/java/org/apache/iotdb/tool
- data
- schema
- tsfile
- isession/src/main/java/org/apache/iotdb/isession/pool
- session/src
- main/java/org/apache/iotdb/session
- pool
- rpccompress
- util
- test/java/org/apache/iotdb/session/pool
- iotdb-core
- datanode/src/main/java/org/apache/iotdb
- db
- protocol/thrift
- handler
- impl
- queryengine/plan/parser
- service/metrics
- util
- node-commons/src/main/java/org/apache/iotdb/commons/service/metric/enums
- iotdb-protocol/thrift-datanode/src/main/thrift
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
Lines changed: 363 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
0 commit comments