[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] New message: "Re: StructureModificationChecker and Synch with VFS3"

Brian Stansberry noreply at jboss.org
Wed Jan 6 16:30:20 EST 2010


JBoss development,

A new message was posted in the thread "StructureModificationChecker and Synch with VFS3":

http://community.jboss.org/message/518627#518627

Author  : Brian Stansberry
Profile : http://community.jboss.org/people/bstansberry@jboss.com

Message:
--------------------------------------------------------------
Note that the farming service also does a scan of a portion of the VFS, with the assumption that it's looking at the original files. This is encapsulated in https://svn.jboss.org/repos/jbossas/trunk/system/src/main/java/org/jboss/system/server/profileservice/repository/clustered/local/AbstractLocalContentManager.java
 
See the getCurrentContentMetadata() method.
 
This is managed by ClusteredDeploymentRepository, which is one of the ProfileService repository impls Scott was talking about. The scan is triggered by the HDScanner.
 
This differs from the scan performed by the non-clustered repository impl in that it's interested in all files, not just those that could trigger a redeploy. And it's not interested in the internals of zipped archives. Basically it wants to detect any modified files so it can replicate them to the cluster.
 
If this scan were delegated to VFS, it would need to get back the relative path, timestamp and directory/leaf status of all files under the root.
 
Hmm, replicating the file means being able to read the original file. That's a problem if it is hidden.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/518627#518627




More information about the jboss-dev-forums mailing list