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

Wrong completion of an alter table operation for a slowing node

    XMLWordPrintableJSON

Details

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

    Description

      Two nodes send a request to change the table (for example, adding the column "column1"), if one of the nodes slowed down (could not update the configuration in the metastorage due to the network), then one of the nodes will be able to perform the operation (the column will be added), and the second, after returning to the cluster there will be no error to perform the operation, since when a new configuration is received from the metastorrage, a notification about a schema change will occur, which will complete all current operations to change the table, although there should be an error (the column already exists). In fact, the error will be later, but she will not be able to complete the operation with it because the operation was completed on notification of a change in the table configuration.

      Tests:

      • org.apache.ignite.internal.runner.app.ItTablesApiTest#testAddColumnFromLaggedNode;
      • org.apache.ignite.internal.runner.app.ItTablesApiTest#testAddIndexFromLaggedNode.

      Attachments

        Issue Links

          Activity

            People

              v.pyatkov Vladislav Pyatkov
              ktkalenko@gridgain.com Kirill Tkalenko
              Alexander Lapin Alexander Lapin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m