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

SQL: Single place to start missing caches (H2Utils.checkAndStartNotStartedCache)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • sql
    • None

    Description

      We need to start missing caches for the given SELECT/DML statement because we need affinity info during query planning which is only available for started caches.

      We need to do the following:

      1. Move the method H2Utils.checkAndStartNotStartedCache to some common place, e.g. parser, so that it has one and only one usage all over the code base
      2. Make sure that this method doesn't produce multiple network hops: missing caches should be started in a single request if possible.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: