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

Query should not rely on the results of return values of write commands

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 8.0.0.Beta2
    • Embedded Querying
    • None

      The query interceptor relies on the return value of the write commands to know the previous value of the modified entries. This is not correct, because some write commands do not return the previous value, e.g. remove(key, value), replace(key, oldValue, newValue), and putAll(map).

      The query interceptor should instead look up the previous values in the invocation context, and also force the loading of old values in the invocation context if the command doesn't do it explicitly (e.g. putAll(map), or put(k, v) with the IGNORE_RETURN_VALUES flag).

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: