Invalidations on locks not received when running a vcs client session
---------------------------------------------------------------------
Key: NXP-5808
URL: https://jira.nuxeo.org/browse/NXP-5808
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.4
Reporter: Stéphane Lacoin
Priority: Major
In this condition
* two VCS servers in a cluster : ServerA and ServerB
* two VCS client, each connected to one distinct server (ClientA on ServerA and
ClientB on ServerB)
* clients have a session dedicated to the thread UI used mainly for retrieving
documents
* clients execute lock operation on distinct sessions server side by sending an
operation
* clients are polling the session dedicated to the thread UI every 10 seconds
When ClientA locks a document, ServerA is registering a cluster invalidation :
2010-10-17 21:44:50,207 TRACE [http-127.0.0.1-8080-8]
[org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperLogger] (1) SQL: SELECT
NX_CLUSTER_INVAL('6e6fbc9d-55f6-46b2-8ed6-68ab1d71dacc', 'locks', 1)
Then ServerB received the invalidation and propagated to all local sessions
while processing the hearbeat
2010-10-17 21:44:50,418 TRACE [Nuxeo Heartbeat]
[org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperLogger] (1) SQL: ->
Invalidations(modified=[RowId(locks, 6e6fbc9d-55f6-46b2-8ed6-68ab1d71dacc),
RowId(heartbeat, b61e778b-1b61-4c24-8251-6bd1ce2878ee), RowId(dublincore,
b61e778b-1b61-4c24-8251-6bd1ce2878ee)])
The invalidation was received by ClientB while saving a session as a cache
invalidation and was not relayed as a core event.
PersistenceContext.processInvalidations(...)
...
// send remote events
if (invals.eventInvalidations != null) {
session.sendInvalidationEvent(invals.eventInvalidations, false);
}
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets