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

SQL query may hang forerver after node restart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-beta2
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      How to reproduce:

      1. Start a 1-node cluster
      2. Create several simple tables (usually 5-10 is enough to reproduce):

      create table failoverTest00(k1 INTEGER not null, k2 INTEGER not null, v1 VARCHAR(100), v2 VARCHAR(255), v3 TIMESTAMP not null, primary key (k1, k2));
      create table failoverTest01(k1 INTEGER not null, k2 INTEGER not null, v1 VARCHAR(100), v2 VARCHAR(255), v3 TIMESTAMP not null, primary key (k1, k2));
      ...
      

      3. Fill every table with 1000 rows.
      4. Ensure that every table contains 1000 rows:

      SELECT COUNT(*) FROM failoverTest00;
      ...
      

      5. Restart node (kill a Java process and start node again).
      6. Check all tables again.

      Expected behavior: after restart, all tables still contains the same data as before.

      Actual behavior: cannot perform SQL query after restart. It hangs for a long time. Ignite log is overwhelmed with "Primary replica expired" messages.

      This bug was first observed soon after fixes in https://issues.apache.org/jira/browse/IGNITE-20116.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              akhitrin Andrey Khitrin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: