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

No proper cleanup of statements cache is done on table drop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3
    • sql
    • None

    Description

      We should cleanup statements cache whenever cache is deregistered - otherwise it's possible to retrieve from statements cache a statement that is prepared from H2 perspective but may not be executed. Such situation may arise for any dynamic cache, not only for that created via SQL.
      Reproducer attached.

      Attachments

        1. IgniteCacheLocalQuerySelfTest.java
          3 kB
          Alexander Paschenko

        Issue Links

          Activity

            People

              al.psc Alexander Paschenko
              al.psc Alexander Paschenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: