[JBoss JIRA] (ISPN-2246) Synchronization between Infinispan clusters
by Robert Stupp (JIRA)
Robert Stupp created ISPN-2246:
----------------------------------
Summary: Synchronization between Infinispan clusters
Key: ISPN-2246
URL: https://issues.jboss.org/browse/ISPN-2246
Project: Infinispan
Issue Type: Enhancement
Reporter: Robert Stupp
Assignee: Mircea Markus
We are currently thinking about the following architectural scenario:
* A number of application servers that form an Infinispan clustered cache
* A "backend" Infinispan cluster with file based cache store
* The backend cluster is the cache store for the app server's cache
It would be nice if the backend cache could inform the app server's cache about cache entry invalidations.
This could be used when you want to use Infinispan clusters in your "branch offices" and have a "central" Infinispan clusters that receives all data updates and informs the "branch" clusters just about invalidations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (ISPN-2245) Maven artifact containing distribution
by Robert Stupp (JIRA)
Robert Stupp created ISPN-2245:
----------------------------------
Summary: Maven artifact containing distribution
Key: ISPN-2245
URL: https://issues.jboss.org/browse/ISPN-2245
Project: Infinispan
Issue Type: Enhancement
Reporter: Robert Stupp
Assignee: Mircea Markus
Please upload the binary distribution as an artifact to JBoss nexus repository.
This would enable people to build a "custom" server using Maven:
{noformat}
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-dist</artifactId>
<version>5.2.0.FINAL</version>
<type>tar.gz</type>
<dependency>
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (ISPN-2237) ConcurrentMapFactory does not allow use of V8 maps with Sun JDK 6
by Robert Stupp (JIRA)
Robert Stupp created ISPN-2237:
----------------------------------
Summary: ConcurrentMapFactory does not allow use of V8 maps with Sun JDK 6
Key: ISPN-2237
URL: https://issues.jboss.org/browse/ISPN-2237
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.1.6.FINAL
Reporter: Robert Stupp
Assignee: Mircea Markus
The implementation in ConcurrentMapFactory checks for existance of a Sun JVM private class. But although a Sun JDK/JRE 6 is used, the check fails (wrong class com.sun.unsafe.Unsafe instead of sun.misc.Unsafe).
Sould use sun.misc.Unsafe
{noformat}
static {
boolean sunIncompatibleJvm;
boolean jdk8;
boolean allowExperimentalMap = Boolean.getBoolean("infinispan.unsafe.allow_jdk8_chm");
try {
Class.forName("com.sun.unsafe.Unsafe");
sunIncompatibleJvm = false;
} catch (ClassNotFoundException e) {
sunIncompatibleJvm = true;
}
try {
Class.forName("java.util.concurrent.atomic.LongAdder");
jdk8 = true;
} catch (ClassNotFoundException e) {
jdk8 = false;
}
if (jdk8 || sunIncompatibleJvm || !allowExperimentalMap)
MAP_CREATOR = new JdkConcurrentMapCreator();
else
MAP_CREATOR = new BackportedV8ConcurrentMapCreator();
}
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (ISPN-2251) Error in the release script
by Mircea Markus (JIRA)
Mircea Markus created ISPN-2251:
-----------------------------------
Summary: Error in the release script
Key: ISPN-2251
URL: https://issues.jboss.org/browse/ISPN-2251
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.2.0.Alpha3
Environment: [mircea:~/github/u_ispn ]$ python --version
Python 2.7.1
Mac OS X 10.7.4
Reporter: Mircea Markus
Assignee: Galder Zamarreño
Fix For: 5.2.0.Alpha4
When running the release script I get a warning and a error when uploading the javadocs:
{quote}
[mircea:~/github/u_ispn ]$ bin/release.py 5.2.0.Alpha3 master
[INFO] Releasing Infinispan version 5.2.0.Alpha3 from branch 'master'
Are you sure you want to continue? [N]: y
[INFO] OK, releasing! Please stand by ...
[INFO] Step 1: Tagging master in git as 5.2.0.Alpha3
Already on 'master'
Switched to a new branch '__temp_D068'
[INFO] Step 1: Complete
[INFO] Step 2: Updating version number in source files
[INFO] Step 2: Complete
[INFO] Step 3: Build and test in Maven2
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/core/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/core/src/main/resources/infinispan-core-component-metadata.dat
[ComponentMetadataPersister] 209 components and 49 factories analyzed and persisted in 1.54 seconds.
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/server/core/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/server/core/src/main/resources/infinispan-server-core-component-metadata.dat
[ComponentMetadataPersister] 2 components and 0 factories analyzed and persisted in 128 milliseconds.
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/query/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/query/src/main/resources/infinispan-query-component-metadata.dat
[ComponentMetadataPersister] 3 components and 0 factories analyzed and persisted in 95 milliseconds.
ANTLR Parser Generator Version 3.4
org/infinispan/cli/interpreter/IspnQL.g
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/cli/cli-server/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/cli/cli-server/src/main/resources/infinispan-cli-server-component-metadata.dat
[ComponentMetadataPersister] 1 components and 0 factories analyzed and persisted in 103 milliseconds.
xsddoc starting.
xsddoc finished.
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/core/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/core/src/main/resources/infinispan-core-component-metadata.dat
[ComponentMetadataPersister] 209 components and 49 factories analyzed and persisted in 1.21 seconds.
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/server/core/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/server/core/src/main/resources/infinispan-server-core-component-metadata.dat
[ComponentMetadataPersister] 2 components and 0 factories analyzed and persisted in 159 milliseconds.
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/query/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/query/src/main/resources/infinispan-query-component-metadata.dat
[ComponentMetadataPersister] 3 components and 0 factories analyzed and persisted in 93 milliseconds.
ANTLR Parser Generator Version 3.4
Grammar /Users/mircea/github/u_ispn/cli/cli-server/src/main/antlr3/org/infinispan/cli/interpreter/IspnQL.g is up to date - build skipped
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/cli/cli-server/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/cli/cli-server/src/main/resources/infinispan-cli-server-component-metadata.dat
[ComponentMetadataPersister] 1 components and 0 factories analyzed and persisted in 134 milliseconds.
> isMarkerOlder:
artifact1 = /Users/mircea/.m2/repository/javax/cache/cache-tests/0.4/cache-tests-0.4-tests.jar
marker = /Users/mircea/github/u_ispn/cdi/tck-runner/target/dependency-maven-plugin-markers/javax.cache-cache-tests-jar-tests-0.4.marker
artifact1 lastModified: 1342020308000
marker lastModified: 1342020308000
< false = marker older than artifact?
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/core/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/core/src/main/resources/infinispan-core-component-metadata.dat
[ComponentMetadataPersister] 209 components and 49 factories analyzed and persisted in 1.23 seconds.
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/server/core/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/server/core/src/main/resources/infinispan-server-core-component-metadata.dat
[ComponentMetadataPersister] 2 components and 0 factories analyzed and persisted in 154 milliseconds.
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/query/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/query/src/main/resources/infinispan-query-component-metadata.dat
[ComponentMetadataPersister] 3 components and 0 factories analyzed and persisted in 84 milliseconds.
ANTLR Parser Generator Version 3.4
Grammar /Users/mircea/github/u_ispn/cli/cli-server/src/main/antlr3/org/infinispan/cli/interpreter/IspnQL.g is up to date - build skipped
[ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/cli/cli-server/target/classes
[ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/cli/cli-server/src/main/resources/infinispan-cli-server-component-metadata.dat
[ComponentMetadataPersister] 1 components and 0 factories analyzed and persisted in 109 milliseconds.
> isMarkerOlder:
artifact1 = /Users/mircea/.m2/repository/javax/cache/cache-tests/0.4/cache-tests-0.4-tests.jar
marker = /Users/mircea/github/u_ispn/cdi/tck-runner/target/dependency-maven-plugin-markers/javax.cache-cache-tests-jar-tests-0.4.marker
artifact1 lastModified: 1342020308000
marker lastModified: 1342020308000
< false = marker older than artifact?
[INFO] Step 3: Complete
[INFO] Step 4: Update Google Analytics tracker
Executing in current directory
Done
[INFO] Step 4: Complete
[INFO] Step 5: Uploading Javadocs
[INFO] Step 5: Complete
[INFO] Step 6: Uploading Artifacts
[INFO] Step 6: Complete
[INFO] Step 7: Uploading to configuration XML schema
[INFO] Step 7: Complete
[INFO] Step 8: Uploading to configuration documentation
[INFO] Step 8: Complete
[INFO] Copying from /Users/mircea/github/u_ispn/target/distribution to 5.2.0.Alpha3
Executing in current directory
file has vanished: "/Users/mircea/github/u_ispn/target/distribution/infinispan-5.2.0.Alpha3-all/doc/5.2/apidocs/org/infinispan/client/hotrod/class-use/ServerStatistics.html.tmp"
Done
rsync warning: some files vanished before they could be transferred (code 24) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
Process Process-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 232, in _bootstrap
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 88, in run
File "bin/release.py", line 227, in upload_javadocs
File "/Users/mircea/github/u_ispn/bin/utils.py", line 350, in upload_rsync
self.upload(fr, to, flags, list(self.rsync_cmd))
File "/Users/mircea/github/u_ispn/bin/utils.py", line 357, in upload
subprocess.check_call(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 504, in check_call
CalledProcessError: Command '['rsync', '-r', '--protocol=28', '5.2', 'infinispan@filemgmt.jboss.org:/docs_htdocs/infinispan']' returned non-zero exit status 24
^[[B
[INFO] Step 9: Updating version number for next release
[INFO] Step 9: Complete
Counting objects: 177, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (86/86), done.
Writing objects: 100% (91/91), 11.67 KiB, done.
Total 91 (delta 41), reused 0 (delta 0)
To git@github.com:infinispan/infinispan.git
* [new tag] 5.2.0.ALPHA3 -> 5.2.0.ALPHA3
Switched to branch 'master'
[INFO]
Done! Now all you need to do is the remaining post-release tasks as outlined in ...
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (ISPN-1862) fire TransactionCompletedEvent not as part of the transaction
by Thomas Fromm (JIRA)
Thomas Fromm created ISPN-1862:
----------------------------------
Summary: fire TransactionCompletedEvent not as part of the transaction
Key: ISPN-1862
URL: https://issues.jboss.org/browse/ISPN-1862
Project: Infinispan
Issue Type: Enhancement
Components: Core API
Affects Versions: 5.1.1.FINAL
Reporter: Thomas Fromm
Assignee: Manik Surtani
When catching TransactionCompletedEvent I would expect, the transaction is committed, especially when isTransactionSuccessful() == true.
I need to perform some operations after a transaction was completed. My workaround is ATM to suspend the transaction, perform my (async) stuff, and
resume it afterwards. But in case of errors after resume, I get another TransactionCompletedEvent for this transaction with isTransactionSuccessful() == false.
You see, I need something like a TransactionReallyCompletedEvent :-)
My change request is, that the TransactionCompletedEvents should be fired, after the transaction was committed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months