Project

General

Profile

Bug #3554

Replication should write to disk

Added by Michael Daigle about 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Immediate
Category:
metacat
Target version:
Start date:
10/22/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3554

Description

Replication should do as the standard read and insert.

From Jing:

Hi, Mike:

I think we decided metacat would read xml documents from file system in SB meeting and believe it does now in MetacatServlet class. However, I just went through the code to handle read action in MetacatReplication class(handleGetDocumentRequest method), it seems metacat still reads the xml documents from DB. It is reasonable to me that this read action will read xml documents from file system too.

Line 1137 in MetacatReplication starts to handle getting documents.

What do you think about this issue?

History

#1 Updated by Michael Daigle almost 12 years ago

Moved the code for reading and writing documents to disk into DocumentImpl getXML() and write() methods respectively. In this way, any part of the code that reads or writes a doc will automatically do the disk part as well.

#2 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 3554

Also available in: Atom PDF