Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2469

Replace LMDB asserts with a consistency_error() callback

    XMLWordPrintable

    Details

      Description

      We are currently compiling LMDB with asserts enabled, which leads CFEngine to stop in certain circumstances during lmdb corruption.

      Acceptance criteria

      • Tweak LMDB to support setting up a callback that it will call when it encounters consistency errors
      • Use the new callback mechanism to handle consistency errors gracefully (at least by logging and exitting gracefully)

        Attachments

          Activity

            People

            • Assignee:
              vpodzime Vratislav Podzimek
              Reporter:
              a10003 Eystein Maloy Stenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel