We have a 5 node cluster with a shared JDBC cache store(DB is common for all the nodes). However, when I put the "numOwners" setting to more than 1 , the writes to the cache and DB are failing with primary key exceptions. I expected that only one node would write the updates to the store but that's not happening. If I put the "numOwners" to 1 then everything is working fine but then it's not really adistribute mode. Am I missing anything? Please help.
Is it vaild to put the "numOwners" to more than 1 in Infinispan when shared JDBC cache store is in place?
126 Views Asked by geekprogrammer At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in CACHING
- ClassCastException: datastructures.instances.JClass cannot be cast to java.util.ArrayList
- Robospice. How to save data and how to get data from DB?
- Make @lru_cache ignore some of the function arguments
- Xib taking long time (>1s) to load. UIFont cache seems to blame
- Android picasso cache images
- Rails 4 low-level caching not working
- How to cache Exchange web service API autodiscoverurl?
- The process cannot access the file because it is being used by another process asp.net
- Alamofire loading from cache even when cache policy set to ReloadIgnoringLocalAndRemoteCacheData
- Java Heap vs Cache
- In what use cases is locking on ASP.NET cache required/desirable
- Chrome cache overriding angularjs disabling of cache
- AFNetworking 2.0 Cache Issue
- Symfony ESI Cache / Surrogate Listener Issue
- Using getOrElseUpdate of TrieMap in Scala
Related Questions in INFINISPAN
- Wildfly - Infinispan Transactions configuration
- Infinispan remote cache access
- "experimental" status of JGroups Master/Slave backend for hibernate search and infinispan
- Configure Infinispan as second level cache in Hibernate
- Usage of RemoteCache with DeltaAware and Delta interface infinispan
- Configure JBOSS Infinispan for using hibernate level 2 caching
- Infinispan not using specified JGroups configuration file and throwing Exception
- Infinispan with File Store with Replication enabled
- Infinispan Distributed Cache Issues
- Infinispan Clustered Cache & JGroups - Servers don't see each other
- Use infinispan 7 for wildfly 8.1.0
- WildFly 8.2.0 and Infinispan 6.0.2 CacheContainer Injection error
- IncompatibleClassChangeError in Infinispan an Hibernate integration
- java infinispan the easiest example
- Infinispan failover capability
Related Questions in DISTRIBUTED-CACHE
- Maximum size of the value can be handled by EhCache
- What is the similar function to Distributed cache of Hadoop Distribution File system in Google File System
- DistributedCache in Hadoop 2.x
- How to put the files into memory using Hadoop Distributed cache?
- Hazelcast cluster: serialization and replication issue
- Is there a queriable distributed cache with high availability option for Windows?
- Re-use files in Hadoop Distributed cache
- Hazelcast distributed map
- Hadoop: When does the setup method gets invoked in reducer?
- FileNotFoundException but the file exists
- How to implement distributed Cache in the .net Framework Project of version 4.8
- Is it possible to store MAP as a value into MULTIMAP in the Hazelcast?
- Distributed caching and locking with Redis in .NET Core
- Distributed Cache Jar in classpath but getting ClassNotFoundException
- I am getting the error "The method addCacheFile(URI) is undefined for the type Job" with CDH4.0
Related Questions in INFINISPAN-8
- Infinispan-8 blocking state during iteration through cache
- How to enable JGroups logging in Infinispan
- Infinispan - Hibernate 2nd Level Cache Cluster Marshaling issue
- Wildfly 10 Infinispan JCache: @CacheResult causes "Member of array type or annotation type must be annotated @NonBinding"
- lost data when stopping server [Infinispan]
- CacheException:Unable to invoke public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
- Infinispan distributed cache across multiple servers
- Infinispan 8.0.1 crashing when I remove a member from the cluster
- How to configure persistent storage for jboss datagrid openshift image?
- infinispan hibernate 2nd level cache - XML Configuration format required
- Infinispan 8.2.11 and Jgroups 3.6.x compatibility
- How can I enable versioning?
- Is it vaild to put the "numOwners" to more than 1 in Infinispan when shared JDBC cache store is in place?
- Are staggered remote GETs implemented for replicated caches as well?
- Standalone/Domain Model not available in Infinispan server 10 and 11 version
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to intended design, you are correct. It should be valid to have numOwners >= 1 even with a shared CacheStore.
Please raise an issue.