push
travis_ci
[IOTDB-6097] Pipe: Avoid subscrption running with the pattern option causing OOM & Fix de/ser of RecoverProgressIndex (#10767) (#10775) This commit fixes 2 issues: * Subscrption running with the pattern option may cause OOM How to reproduce: 1. execute sql: ``` create pipe test1 with extractor ( 'extractor.history.enable'='false', 'extractor'='iotdb-extractor', 'extractor.realtime.mode'='log', 'extractor.pattern'='root' ) with connector ( 'connector'='iotdb-thrift-connector-v1', 'connector.node-urls'='127.0.0.1:6668' ); start pipe test1; ``` 2. run benchmark: 1 database, 10 devices, 10 measurements. * java.lang.UnsupportedOperationException: Unsupported PipeRuntimeException type 0 caused by de/ser issue of RecoverProgressIndex <img width="1194" alt="image" src="https://github.com/apache/iotdb/assets/30497621/d2d35ee7-293b-4594-92f3-fc10b2aa8313"> (cherry picked from commit f0f168249)
35 of 35 new or added lines in 7 files covered. (100.0%)
79409 of 165601 relevant lines covered (47.95%)
0.48 hits per line