Project

General

Profile

Actions

Feature #6916

closed

Create a read-only mode for Metacat MN

Added by Jing Tao over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12/17/2015
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

During a big os upgrade of a Metacat member node, we always face the issue that it will have a long down time. In order to minimize the down time, we can create a new node which has been installed the new version of the software, then migrate the content from the old node to the new node. In order to keep the same content, it will be great if the old node can be set to the read-only mode.

Here is my plan:

In the metacat.properties file, a new property database.readyOnly will be added. It it is the true, the following methods can be excecuted:

1. Metacat API:
- handleMultipartForm
- insert
- update
- delete
- setaccess
- buildindex
- reindex
- reindexall
- scheduleWorkflow
- unscheduleWorkflow
- rescheduleWorkflow
- deleteScheduledWorkflow
- handlerPlugin ( we are not sure if they can update the content)

2. Metacat Replication API
- forcereplicatedatafile
- forcereplicate
- forcereplcatesystemmetadata
- forcereplicatedelete
- forcereplicatedeleteall
- update

3. Member node api (v1 and v2)
- MNRead.systemMetadataChanged()
- MNStorage.create()
- MNStorage.update()
- MNStorage.delete()
- MNStorage.archive()
- MNStorage.updateSystemMetadata()
- MNReplication.replicate()

Actions #1

Updated by Jing Tao over 8 years ago

Those methods can NOT be executed :)

Actions #2

Updated by Jing Tao over 8 years ago

  • Assignee set to Jing Tao
Actions #3

Updated by Jing Tao about 8 years ago

  • Tracker changed from Bug to Feature
  • Status changed from New to Closed

The above methods were added a checker for the read-only mode.

Actions

Also available in: Atom PDF