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

Allow configuration of MongoDB query max execution time

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF27, 11.1, 2021.0
    • Component/s: Core MongoDB
    • Release Notes Summary:
      MongoDB query max execution time is configurable.
    • Tags:
    • Upgrade notes:
      Hide

      Query max execution time can be configured using:

        <extension target="org.nuxeo.runtime.mongodb.MongoDBComponent" point="connection">
          <connection id="default">
            <maxTime>10 m</maxTime>
          </connection>
        </extension>
      

      The default is 1 h.

      Show
      Query max execution time can be configured using: <extension target= "org.nuxeo.runtime.mongodb.MongoDBComponent" point= "connection" > <connection id= "default" > <maxTime> 10 m </maxTime> </connection> </extension> The default is 1 h .
    • Team:
      FG
    • Sprint:
      nxFG 11.1.13
    • Story Points:
      2

      Description

      Allow configuration of MongoDB query max execution time (aka maxTimeMS in many MongoDB documentation pages).

      If the query max time is exceeded, we attempt to throw a NuxeoException but in some cases a lower-level MongoExecutionTimeoutException will be thrown.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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