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

Find a better implementation to get the next position in an orderable folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Core DBS, Core VCS

      Description

      The current implementation iterates over all the children: it may take a long time and in some extreme cases, it can provoke OOM (case with a folder with 70k children).

      Even if it does not make a lot of sense to use an ordered folder with 70k children, we need to improve the current implementation to scale in similar cases.

      Both VCS and DBS implementation are affected by this problem as they both get all children :

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: