[jboss-dev-forums] [Design of JBossCache] - Re: NPE in InvalidationInterceptor.getNodeVersion()
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Feb 27 15:43:56 EST 2008
Been conversing with myself as I work through this. :-)
More issues: http://jira.jboss.com/jira/browse/JBCACHE-1298
My proposed fix to JBCACHE-1298 is as follows:
1) CacheImpl.invalidate() should not create a tombstone if argument DataVersion versionToInvalidate is null. Just return. The cache is already in a state consistent with the intent of the invalidate() call; there's no need to do anything further.
2) If a tombstone does need to be created, the versionToInvalidate should be set as an Option when it is created, rather than putting in a possibly incompatible DefaultDataVersion.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132635#4132635
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132635
More information about the jboss-dev-forums
mailing list