openvstorage / arakoon

The consistent distributed key-value store in Open vStorage.
http://arakoon.org/
Apache License 2.0
28 stars 7 forks source link

Failure success head.db #110

Open matthiasdeblock opened 8 years ago

matthiasdeblock commented 8 years ago

Arakoon version: version: 1.9.8 git_revision: "tags/1.9.8-0-g2372b70"

GIG env. had following error message in the nsm arakoon logging:

2016-08-09 08:12:00 617304 +0200 - ovs-03.be-gen8-2 - 11646/0 - arakoon - 3336987 - info - returning assuming no I "/mnt/ssd1/arakoon/mybackend-nsm_0/tlogs/head.db": (Failure success); backtrace:; Raised by primitive operation at file "hotc.ml", line 63, characters 12-24; Called from file "src/node/local_store.ml", line 49, characters 2-62; Called from file "src/node/local_store.ml", line 277, characters 2-41; Called from file "src/node/batched_store.ml", line 57, characters 4-34; Called from file "src/node/store.ml", line 159, characters 4-48; Called from file "src/node/collapser.ml", line 183, characters 7-131; Called from file "src/core/lwt.ml", line 686, characters 20-24
wimpers commented 8 years ago

Incorrect logging of a success as failure

domsj commented 8 years ago

No, there is an error, but errno isn't set correctly which results in the wrong log message, misleading one to believe the operation was successful.