go-pttai icon indicating copy to clipboard operation
go-pttai copied to clipboard

Dealing with corrupted db-data

Open chhsiao1981 opened this issue 7 years ago • 1 comments

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.

chhsiao1981 avatar Mar 28 '19 00:03 chhsiao1981

solutions:

  • force resync/ignore If data is corrupted?
  • full resync if oplog is corrupted?

poga avatar Apr 01 '19 06:04 poga