Uploaded image for project: 'JBoss Cache'
  1. JBoss Cache
  2. JBCACHE-1602

NodeSPI.isDataLoaded is false for new node with optimistic locking

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.5.GA
    • Fix Version/s: None
    • Component/s: Cache loaders
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      cache.put ( fqn, key, test );
      NodeSPI n = (NodeSPI)cache.getNode ( fqn );
      System.out.println ( n.isDataLoaded() );

      Expected result: "true"
      Actual result: "true" with MVCC or Pessimistic. "false" with Optimistic

      Show
      cache.put ( fqn, key, test ); NodeSPI n = (NodeSPI)cache.getNode ( fqn ); System.out.println ( n.isDataLoaded() ); Expected result: "true" Actual result: "true" with MVCC or Pessimistic. "false" with Optimistic

      Description

      A newly created node's NodeSPI#isDataLoaded is false with Optimistic locking.
      With MVCC or Pessimistic locking, it is true.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dereed Dennis Reed
                Reporter:
                dereed Dennis Reed
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: