Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24276

Optimize cache invalidation on drive server

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 8.10-HF23, 9.10
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Nuxeo Drive

      Description

      Currently we're querying audit in AuditChangeFinder#getFileSystemChanges in order to compute the change summary. When detecting a sync/unsync event in this result, we invalidate caches and then execute the same query again.

      Also, if the result is above a specific limit, we throw an exception. In this case and with default settings, we have queried at least 1000 entries for nothing.

      These use cases could be optimized, we should get audit entries only once if we need it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kleturc Kevin Leturc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: