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

Select from a table fails after the table is created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta2
    • None

    Description

      The scenario is as follows:

      1. Start and init a cluster of 3 nodes
      2. Create a table named TEST with 3 replicas via node 0
      3. On node 2, execute a query like 'select * from PUBLIC.TEST'

      This sometimes causes the following error:

      Caused by: org.apache.calcite.sql.validate.SqlValidatorException: Object 'TEST' not found
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at org.apache.calcite.runtime.Resources$ExInstWithCause.ex(Resources.java:505)
        at org.apache.calcite.runtime.Resources$ExInst.ex(Resources.java:599)
        ... 25 more

      But after some time, a retry of the same query succeeds.

      This might have something to do with IGNITE-18203.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rpuch Roman Puchkovskiy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: