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

Force database commit before generating a report

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4.5
    • Fix Version/s: 4.5.0
    • Component/s: Framework

      Description

      Since the journal mode is WAL, database changes are saved only every 1,000 page changes (cf https://www.sqlite.org/compile.html#default_wal_autocheckpoint and https://www.sqlite.org/c3ref/wal_checkpoint_v2.html).

      But it may be better to force commiting in some cases:

      • before generating a report: to have all details in databases, else it is useless
      • before exiting the app: already done by default

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h