Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-26338

Creating duplicate prepared statement leaves cache locked

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.6.4, 5.1.0, 5.5.0
    • 4.6.3, 5.0.0
    • query
    • None
    • Triaged
    • Yes

    Description

      In the general cache code a certain lock is not released if conflicts are found.
      The upshot is that when a prepared statement is already there and the same statement is inserted with a different text, one cache line will remain locked.
      Some (but not all) prepare statements will then hang.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            marco.greco Marco Greco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty