Project

General

Profile

« Previous | Next » 

Revision 835

Added by bojilova almost 23 years ago

fixed error:
writing on the replication server required the whole acc# (including the rev#)

View differences:

src/edu/ucsb/nceas/metacat/DocumentImpl.java
1015 1015
                
1016 1016
        //after inserting the document locally, tell the document's home server
1017 1017
        //to come get a copy from here.
1018
        ForceReplicationHandler frh = new ForceReplicationHandler(docid);
1018
        ForceReplicationHandler frh = new ForceReplicationHandler(accnum);
1019 1019
        
1020 1020
        // OLD
1021 1021
        //rev++;
......
1076 1076
    //force replicate out the new document to each server in our server list.
1077 1077
    if(serverCode == 1)
1078 1078
    { //start the thread to replicate this new document out to the other servers
1079
//      ForceReplicationHandler frh = new ForceReplicationHandler(docid, action);
1079
      ForceReplicationHandler frh = new ForceReplicationHandler(accnum, action);
1080 1080
    }
1081 1081
      
1082 1082
    //return (docid + sep + rev);

Also available in: Unified diff