go-pttai
go-pttai copied to clipboard
Dealing with corrupted db-data
Version information:
Gptt Version: 0.2.0 Git Commit: 769706df31c45ad4242da56e701b40ab954912ce Architecture: amd64 Go Version: go1.11.1 Operating System: linux
Type:
Other
Description:
Currently we just return error without any action when we realize that we have corrupted db-data. This may result in unable to update the data and unable to further processing.
We need to have some method to deal with corrupted db-data.
solutions:
- force resync/ignore If data is corrupted?
- full resync if oplog is corrupted?