Task #2068
Story #2067: Refactor the index task generator and processor to improve scalability and performance
Define the index task data model
100%
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 about 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 about 13 years ago
- Status changed from New to In Progress
#3 Updated by Skye Roseboom about 13 years ago
- Status changed from In Progress to Closed
Created IndexTask DOM containing attributes mentioned above including status.