Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2853

avatica.MetaImpl and calcite.jdbc.CalciteMetaImpl are not thread-safe

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: avatica-1.13.0, 1.18.0
    • Fix Version/s: None
    • Component/s: avatica, core
    • Labels:
      None

      Description

      MetaImpl is a server-side singletone, and CalciteMetaImpl never creates connections.
      This causes all the incoming requests to be served by a single connection only, and it produces in wrong results when accessed from concurrent threads (e.g. CalciteRemoteDriverTest in builds.apache.org).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vladimirsitnikov Vladimir Sitnikov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: