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

Query interceptor should update index during commit

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: