-
Notifications
You must be signed in to change notification settings - Fork 244
Query Retrieve after Instance Records Purged
The test is to verify that Retrieve Cache is used when query/retrieve is being done from a Nearline storage even after
the series metadata is accumulated and instance records have been purged from database. This means that object(s) are
first copied to the retrieve cache from nearline and then sent to destination. In addition to that, the json file(s)
of the object(s) in the updated series-metadata
zip files should now also contain the reference to retrieve-cache
storage.
In addition to basic configuration done for retrieve cache and series metadata configuration, below configuration is needed to enable the purging of instance records from database.
- Go to
Configuration
page,Devices
tab and editdcm4chee-arc
device.Edit extension
ofDevice Extension
, nextEdit extension
ofArchive Device
. - Go to
Attributes
section ofArchive Device
and ensure that one has values set for fieldsPurge Instance Records
,Purge Instance Records Delay
andPurge Instance Records Polling Interval
andSave
.
One may
-
create a LDIF file (e.g.):
dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmPurgeInstanceRecordsDelay dcmPurgeInstanceRecordsDelay: PT1M dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmPurgeInstanceRecordsPollingInterval dcmPurgeInstanceRecordsPollingInterval: PT1M dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmPurgeInstanceRecordsFetchSize dcmPurgeInstanceRecordsFetchSize: 10 dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmPurgeInstanceRecords dcmPurgeInstanceRecords: true
One may refer to Archive Device to understand the description of attributes.
Refer ISO-8601 Duration format for more know-how on Durations.
Go to the Control tab on Configuration page in archive UI and reload the configuration.
- Perform test steps and the corresponding verifications.
- In addition, verify the value of private attribute
Instance Record Purge State of Series
isPURGED
on Series and Object level.
DCM4CHEE 5 Documentation