Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4597

Query interceptor should update index during commit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Embedded Querying
    • None

      QueryInterceptor updates indexes during visitPrepareCommand. However, a tx that was prepared successfully is not guaranteed to be actually committed (e.g. if another node fails to prepare, or if another XA resource fails). The index should only be updated during visitPrepareCommand if the prepare is 1-phase, otherwise it should be updated during visitCommitCommand.

            sgrinove Sanne Grinovero
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: