Improve Fatal LevelDB Log Messages #12659

pull eklitzke wants to merge 1 commits into bitcoin:master from eklitzke:leveldb_errmsg changing 1 files +4 −8
  1. eklitzke commented at 6:54 AM on March 10, 2018: contributor

    The leveldb::Status class logs the filename of corrupted files, which might be useful when looking at error reports from usres. In theory this is already logged via the LogPrintf() statement in HandleError(), but that may not always be close to where the final error message is logged, e.g. see #11355 (comment) where the log trace provided by the user does not contain that information (and other user comments in the same issue).

    This also adds a log message instructing the user to run the process with -debug=leveldb, which provides much more verbose error messages about LevelDB internals. This may not really help much, but improving the error messages here can't hurt.

  2. Log fatal LevelDB errors more verbosely f4b68b3f8f
  3. fanquake added the label Utils/log/libs on Mar 10, 2018
  4. dooglus cross-referenced this on Mar 10, 2018 from issue LevelDB read failure: Corruption: block checksum mismatch by dooglus
  5. bitcoin deleted a comment on Mar 11, 2018
  6. bitcoin deleted a comment on Mar 11, 2018
  7. bitcoin deleted a comment on Mar 11, 2018
  8. randolf approved
  9. promag commented at 11:35 PM on March 12, 2018: member

    utACK f4b68b3.

  10. fanquake commented at 2:27 AM on March 13, 2018: member

    utACK f4b68b3

  11. MarcoFalke commented at 4:15 PM on March 13, 2018: member

    utACK f4b68b3f8f6bb8ad45a9c13c70be0e24404ecd54

  12. MarcoFalke merged this on Mar 13, 2018
  13. MarcoFalke closed this on Mar 13, 2018

  14. MarcoFalke referenced this in commit 3d16f58153 on Mar 13, 2018
  15. eklitzke cross-referenced this on Mar 15, 2018 from issue LevelDB "corrupted compressed block contents" errors by eklitzke
  16. eklitzke deleted the branch on Mar 16, 2018
  17. PastaPastaPasta referenced this in commit bbb3e74ce7 on Jun 13, 2020
  18. PastaPastaPasta referenced this in commit 57a6035a90 on Jun 13, 2020
  19. PastaPastaPasta referenced this in commit 185f2d6cfa on Jun 17, 2020
  20. PastaPastaPasta referenced this in commit f2afaa324f on Jun 18, 2020
  21. gades referenced this in commit 6a194112d9 on Jun 24, 2021
  22. lyricidal cross-referenced this on Aug 27, 2021 from issue [Upstream] [DB] Bitcoin 0.12-0.14 dbwrapper improvements by lyricidal
  23. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC