Project

General

Profile

Task #2068

Story #2067: Refactor the index task generator and processor to improve scalability and performance

Define the index task data model

Added by Dave Vieglais almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Skye Roseboom
Category:
d1_indexer
Start date:
2011-11-29
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

Should contain the following attributes:

String pid //String representation of the object unique identifier
String formatid //String representation of the object format id
String sysMetaPath //Filesystem path to a temporary cache of the system metadata as an XML document on disk
String objectPath //Filesystem path to the science metadata or resource map object. Null for data objects
long dateSysMetaModified //Unix timestamp representation (milliseconds from Unix epoch) of the dateSysMetadataModified of the system metadata
long tstamp //Unix timestamp indicating when this task was generated
int priority //Relative priority of this task. Some operations such as a change in access control rules should be propagated to the index before others

History

#1 Updated by Dave Vieglais almost 13 years ago

May also be helpful to have an indication that a particular task is being processed, so a status flag that would indicate "NEW", "IN_PROCESS", "COMPLETE", "FAILED" should probably be added to the attributes.

The tstamp should be updated when the status flag changes.

#2 Updated by Skye Roseboom almost 13 years ago

  • Status changed from New to In Progress

#3 Updated by Skye Roseboom almost 13 years ago

  • Status changed from In Progress to Closed

Created IndexTask DOM containing attributes mentioned above including status.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)