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

Migrate Note storage to Files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core

      Description

      Note documents (schema note) are currently stored in String fields. This has several problems:

      • Size is limited by the database storage, which causes errors on huge text files (for example MongoDB has a limit of 16MB).
      • Strings don't record their original encoding; this causes round-tripping issues visible using Nuxeo Drive for instance.
      • Huge intermediate String objects are created which may exhaust memory and cause OutOfMemoryError.

      We should store Notes in the file schema and migrate old Notes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: