Project

General

Profile

Actions

Bug #3554

closed

Replication should write to disk

Added by Michael Daigle about 16 years ago. Updated about 16 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?

Actions #1

Updated by Michael Daigle about 16 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.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3554

Actions

Also available in: Atom PDF