Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3822

DocumentStore query API should allow specifying a timeout for queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • documentmk
    • None

    Description

      There are cases where a query should be terminated instead of running to completion. In one particular case, we see ClusterNodeInfoDocument.all() needing 15 minutes on an Oracle database. In the context of this call, this essentially means the server is burning.

      The API should allow setting a max. acceptable time for the query to complete, after which it should be terminated. With that, we could at least fail fast.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: