Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2524

[GNU/Linux] WAL journal mode cause manager database corruption

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.4.5
    • Fix Version/s: 5.0.0
    • Component/s: OS Integration
    • Release Notes Summary:
      Fixed a database corruption on GNU/Linux
    • Release Notes Description:
      Hide

      A database corruption issue on GNU/Linux that was causing Drive to not detect anymore registered accounts has been fixed. No data has been impacted or lost, the issue only concerned the store where the data’s address are saved.

      Show
      A database corruption issue on GNU/Linux that was causing Drive to not detect anymore registered accounts has been fixed. No data has been impacted or lost, the issue only concerned the store where the data’s address are saved.
    • Sprint:
      nxDrive 11.2.14

      Description

      The issue is only visible when the app is run from an AppImage.

      When adding a new account, the manager database file gets corrupted and is not backed up. This cause a loss of information and when rebooting Drive, it doesn't detect the previously added account.

      This seems to be caused by the usage of the WAL journal_mode for the manager database.

      To fix this issue, we should use the DELETE journal_mode as we don't write really often into the manager database.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.