Linux Arm Panic Log: Database corruption

[HD6OA] 00:01:50 INFO: syncthing v0.11.26 “Aluminium Ant” (go1.4.2 linux-arm default) unknown-user@syncthing-builder 2015-10-02 06:08:07 UTC [HD6OA] 00:01:50 INFO: My ID: XXXXX-XXXXX-XXXXX-XXXXXX-XXXXX-XXXXX-XXXXX-XXXXX [HD6OA] 00:01:50 INFO: Database block cache capacity 14653 KiB

… Panic at 2015-11-04T00:02:05-06:00 panic: leveldb/table: corruption on data-block (pos=1185412): checksum mismatch, want=0x0 got=0xce6873b7 [file=290298.ldb]

goroutine 1 [running]:, 0x1276a560, 0x9, 0x10) /go/src/ +0x974, 0x9, 0x10b3e620, 0x10bdaf28) /go/src/ +0x210*Model).AddFolder(0x12727ae0, 0x10bee2b4, 0x9, 0x10bac8e0, 0x1e, 0x10b9ea00, 0xf, 0x10, 0x0, 0x0, …) /go/src/ +0x108 main.syncthingMain() /go/src/ +0x2010 main.main() /go/src/ +0x1e20

goroutine 5 [syscall]: os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:21 +0x1c created by os/signal.init·1 /usr/local/go/src/os/signal/signal_unix.go:27 +0x40

goroutine 7 [chan receive]: main.trackCPUUsage() /go/src/ +0x120 created by main.init·2 /go/src/ +0x34

goroutine 9 [select]:*Supervisor).Serve(0x10b2e5a0) /go/src/ +0xe28 created by*Supervisor).ServeBackground /go/src/ +0x3c

goroutine 10 [select]:*Subscription).Poll(0x10b38e20, 0xf8475800, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …) /go/src/ +0x308*BufferedSubscription).pollingLoop(0x10b309c0) /go/src/ +0x40 created by /go/src/ +0x2a8

goroutine 11 [select]:*BufferPool).drain(0x10baa370) /go/src/ +0x1d4 created by /go/src/ +0x23c

goroutine 12 [select]:*DB).compactionError(0x10b3e620) /go/src/ +0x28c created by /go/src/ +0x794

goroutine 13 [select]:*DB).mpoolDrain(0x10b3e620) /go/src/ +0x124 created by /go/src/ +0x7bc

goroutine 15 [select]:*DB).mCompaction(0x10b3e620) /go/src/ +0x248 created by /go/src/ +0x9cc

goroutine 16 [select]:*DB).jWriter(0x10b3e620) /go/src/ +0x17c created by /go/src/ +0x9f4

goroutine 20 [select]:*ProgressEmitter).Serve(0x12737520) /go/src/ +0x73c created by /go/src/ +0xae8

goroutine 21 [select]:*Matcher).clean(0x127f56e0, 0x61714000, 0x68c) /go/src/ +0x1e4 created by /go/src/ +0x1a0

goroutine 22 [select]:*Matcher).clean(0x127e26c0, 0x61714000, 0x68c) /go/src/ +0x1e4 created by /go/src/ +0x1a0

Delete the index folder from syncthings home, and restart and rescan. These corruptions usually implies broken hardware.

Well it was working fine for months almost. If this is a hardware issue, should not show up from now on? What is the point of restarting the database if the hardware is broken?

If it is a hardware issue, it will probably show up more often. Also, this can be caused by power loss too.

The database is corrupt, so the only way to restart it will be to scrap the database.

Ok thanks.

Restarting database is no issue but the problem is that it can really confuse all the other nodes if there are files that were not registered properly;(

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.