[infinispan-issues] [JBoss JIRA] (ISPN-5062) Cross site state transfer - incorrect status of push operation

Matej Čimbora (JIRA) issues at jboss.org
Tue Dec 9 05:27:41 EST 2014


Matej Čimbora created ISPN-5062:
-----------------------------------

             Summary:  Cross site state transfer - incorrect status of push operation
                 Key: ISPN-5062
                 URL: https://issues.jboss.org/browse/ISPN-5062
             Project: Infinispan
          Issue Type: Bug
          Components: State Transfer
    Affects Versions: 7.1.0.Alpha1
            Reporter: Matej Čimbora
            Assignee: Pedro Ruivo


Status of push operation remains at value "CANCELLED" after the push operation was cancelled and reinvoked (even if state transfer is currently in progress) - "SENDING" value is expected. Otherwise works as expected (after the state transfer completes, status is switched to "OK").

- Sites LON (lonCache) - main, BRN (brnCache) - backup

Consider the following scenario:   

[standalone at localhost:9999 distributed-cache=lonCache] site --push BRN
ok
[standalone at localhost:9999 distributed-cache=lonCache] site --cancelpush BRN
ok
[standalone at localhost:9999 distributed-cache=lonCache] site --pushstatus
BRN=CANCELED
[standalone at localhost:9999 distributed-cache=lonCache] site --push BRN
ok
[standalone at localhost:9999 distributed-cache=lonCache] site --pushstatus
BRN=CANCELED
[standalone at localhost:9999 distributed-cache=lonCache] site --pushstatus
BRN=OK

Expected behavior:

[standalone at localhost:9999 distributed-cache=lonCache] site --push BRN
ok
[standalone at localhost:9999 distributed-cache=lonCache] site --cancelpush BRN
ok
[standalone at localhost:9999 distributed-cache=lonCache] site --pushstatus
BRN=CANCELED
[standalone at localhost:9999 distributed-cache=lonCache] site --push BRN
ok
[standalone at localhost:9999 distributed-cache=lonCache] site --pushstatus
BRN=SENDING
[standalone at localhost:9999 distributed-cache=lonCache] site --pushstatus
BRN=OK



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)



More information about the infinispan-issues mailing list