thingsboard / thingsboard/database-migrator
Corrupted ts_kv_partitions_cf after migration
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 10
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
I try to migrate to cassandra with scenario 2. All steps working fine. But after load the SSTables, cassandra log says, that /var/lib/cassandra/data/thingsboard/ts_kv_partitions_cf-426feb6087b711eebeceddffc248ce8c/md-3-big-Data.db is corrupted.
So, no historical data on Thingsboard. Any hints?
cassandra_system.log
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached cassandra_system.log and the scenario 2 migration steps, focusing on the SSTable load that produces corruption in /var/lib/cassandra/data/thingsboard/ts_kv_partitions_cf-426feb6087b711eebeceddffc248ce8c/md-3-big-Data.db. Reproduce the migration and identify why the SSTable is rejected; done means the migration completes without corruption and historical data is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cassandra, java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100