timescale / timescaledb-backfill

Backfill hypertable data from one timescale instance to another
Apache License 2.0
0 stars 0 forks source link

Support partial compression on TimescaleDB 2.11 #151

Closed JamesGuthrie closed 3 months ago

JamesGuthrie commented 7 months ago

Some test cases failed with TimescaleDB 2.11

failures:
    copy_chunk_which_was_compressed_and_after_skeleton_copy_became_partial
    copy_chunk_which_was_uncompressed_and_after_skeleton_copy_became_partial
---- copy_chunk_which_was_uncompressed_and_after_skeleton_copy_became_partial stdout ----
thread 'copy_chunk_which_was_uncompressed_and_after_skeleton_copy_became_partial' panicked at 'Unexpected stdout, failed (! var.contains(Chunk verification failed))
├── var as str: Verifying 5 chunks with 8 workers
│   [1/5] Verified chunk "_timescaledb_internal"."_hyper_1_5_chunk" in 20.9ms
│   [2/5] Verified chunk "_timescaledb_internal"."_hyper_1_3_chunk" in 19.8ms
│   [3/5] Verified chunk "_timescaledb_internal"."_hyper_1_4_chunk" in 40.4ms
│   [4/5] Chunk verification failed, source="_timescaledb_internal"."_hyper_1_1_chunk" target="_timescaledb_internal"."_hyper_1_1_chunk" diff
│   ```diff
│   --- original
│   +++ modified
│   @@ -8,7 +8,7 @@
│      val: '0.9912884119295846'
│    sum: {}
│    count:
│   -  device_id: 144
│   -  time: 144
│   -  val: 144
│   -total_count: 144
│   +  device_id: 72
│   +  time: 72
│   +  val: 72
│   +total_count: 72
│   ```
│   [5/5] Verified chunk "_timescaledb_internal"."_hyper_1_2_chunk" in 38ms
│   Verifed 5 chunks in 218.4ms.
│   Execute the 'clean' command to remove the backfill administrative schema from the target database.