Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22213

Schema PUBLIC not found for a short time right after start using JDBC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0.0-beta2
    • sql

    Description

      1) Start cluster,

      2) Init cluster,

      3) Without waiting expected topology, connect using JDBC

      4) Create table

      Expected result: table successfully created

      Actual result: error

      java.sql.SQLException: Schema not found [schemaName=PUBLIC]  at 
      org.apache.ignite.internal.jdbc.proto.IgniteQueryErrorCode.createJdbcSqlException(IgniteQueryErrorCode.java:57)  at 
      org.apache.ignite.internal.jdbc.JdbcStatement.execute0(JdbcStatement.java:154)  at 
      org.apache.ignite.internal.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:111)

      After cluster is fully initialized (logical topology meets expectations), it fixes.
      If the cluster is not ready to process the connection - it shouldn't accept it. Or wait until metadata schema available on request processing.

       

       

      Attachments

        Issue Links

          Activity

            People

              xtern Pavel Pereslegin
              Berkov Alexander Belyak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: