Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4565 Support CREATE INDEX DDL statements
  3. IGNITE-4638

Share current DDL schema and pending DDL operations with joining nodes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • sql
    • None

    Description

      1) Basically there are three operation types which must be shared with joining node:

      • COMPLETED - shared as snapshot of current schema state;
      • ACKED - shared as operation requests;
      • INITED - shared as operation requests.

      2) Completed and acked operations are applied right away.

      3) Inited operations are not applied immediately. Instead, joined node sends VERIFY_INIT_OPS request to coordinator. Operations are applied only after coordinator confirmed that they were not rejected on INIT stage.

      It seems that to achieve p.3 nodes will have to keep a kind of history of rejected operations which is not very desirable, but do we really have other options?

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: