Making parser to handle datafile attribute in parsing updated doclist.
Add a new attribute in updated doc list: data file. So from this attribute, we can tell which document is a data file.
In writeDataFile method, using getDataFileLockGrant(docid) replace getDataFileLockGrant(docid, serverCode). The latter will cause a problem
Add two controls for handle replication server list is empty and updated document list is empty
Using DocumentImpl.writeDataFile method in handleReplicateDataFileRequest. Make code simple.
Add a control to handle if the server list is empty.
Add a method named writeDataFile. This method will register data file into xml_documents table and save a input stream to a file.
Adding a new feature that in uploaddatafile that the datafile can be replicated.
Adding a control which can turn on or off replcation data file.
Add method getDataFileLockGrant(). This method will check if xml-document of data file can be store into database.
View revisions
Also available in: Atom