Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  ucsb 1040 over 22 years Jing Tao Add a hashtable - server list as a class variab...

Latest revisions

# Date Author Comment
1040 04/30/2002 08:21 AM Jing Tao

Add a hashtable - server list as a class variable. So programmer have a control to the server list which will be forced to replicate.

1039 04/30/2002 08:18 AM Jing Tao

Add a hub control in write and writeData method. If hub==super, metacat can replicate any document in its database to any server in server list. If it is not super, metacat only replicate local documents to any server in server list. If a document' home host is not itself, metacat only force replicate the document to the document's home host.

1037 04/26/2002 05:33 PM Jing Tao

In update method, adding some code to handle replicate data file. Fixed the bug in deleting documents.

1036 04/26/2002 05:31 PM Jing Tao

Making parser to handle datafile attribute in parsing updated doclist.

1035 04/26/2002 05:30 PM Jing Tao

Add a new attribute in updated doc list: data file. So from this attribute, we can tell which document is a data file.

1034 04/26/2002 05:27 PM Jing Tao

In writeDataFile method, using getDataFileLockGrant(docid) replace getDataFileLockGrant(docid, serverCode). The latter will cause a problem

1032 04/25/2002 05:02 PM Jing Tao

Add two controls for handle replication server list is empty and updated document list is empty

1031 04/25/2002 05:01 PM Jing Tao

Using DocumentImpl.writeDataFile method in handleReplicateDataFileRequest. Make code simple.

1030 04/25/2002 04:59 PM Jing Tao

Add a control to handle if the server list is empty.

1029 04/25/2002 04:58 PM Jing Tao

Add a method named writeDataFile. This method will register data file into xml_documents table and save a input stream to a file.

View revisions

Also available in: Atom