[infinispan-issues] [JBoss JIRA] (ISPN-4722) CLI remove is not cluster-wide
Tristan Tarrant (JIRA)
issues at jboss.org
Wed Oct 22 09:16:36 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014246#comment-13014246 ]
Tristan Tarrant commented on ISPN-4722:
---------------------------------------
the CLI remove command simply invokes a cache.remove, so I don't know why you're seeing this behaviour. Is this with a sync cache ?
> CLI remove is not cluster-wide
> ------------------------------
>
> Key: ISPN-4722
> URL: https://issues.jboss.org/browse/ISPN-4722
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 6.0.2.Final, 7.0.0.Beta1
> Reporter: Galder Zamarreño
> Assignee: Tristan Tarrant
> Fix For: 7.0.0.Final
>
>
> In CLI, the "remove" command does not delete entries in all nodes of a clustered environment, only the local copy. However, the "put" command does write in all nodes. Is it the expected behavior? See example below:
> {code}
> node 1
> put k1 v1
> get k1 -> v1
> node 2
> get k1 -> v1
> node 1
> remove k1
> get k1 -> null
> node 2
> get k1 -> v1
> {code}
> I know that these commands provided by CLI are not used in real world, but they are useful to demonstrate the correct configuration of a JDG cluster.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list