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

Add a system modification field in all documents

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 9.2
    • Component/s: Core
    • Tags:
    • Story Points:
      8

      Description

      Currently we use dc:modified but we need a more "system" field that records all modifications of the documents. This has several uses:

      • find modified since a given date, (for instance for reindexing or syncing processes),
      • update token to check concurrent updates.

      Due to clustering issues (cluster nodes may have slightly different times), the modification timestamp has to be generated server-side, using CURRENT_TIMESTAMP for SQL and $currentDate for MongoDB.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: