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

DocumentStore API: specification of timeouts?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • documentmk
    • None

    Description

      With the latest changes to the lease checks, failures to renew the lease are now much more visible (which is good).

      That said, we've seen cases in testing where the actual database operation updating the CLUSTER_NODES entry took minutes, eventually timing out. This makes problem analysis harder than it should me.

      Optimally, the API would allow the caller to set a timeout, after which the operation should be aborted. This would make the system fail more deterministically.

      Alternatively, a DS implementation could make assumptions about timeouts based on the Collection it operates on (but this fails like a hack to me).

      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:
                Resolved: