Skip to content

Query Retrieve after Instance Records Purged

Vrinda edited this page Mar 27, 2023 · 1 revision

Description

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.

Configuration

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.

Using Archive UI

  • Go to Configuration page, Devices tab and edit dcm4chee-arc device. Edit extension of Device Extension, next Edit extension of Archive Device.
  • Go to Attributes section of Archive Device and ensure that one has values set for fields Purge Instance Records, Purge Instance Records Delay and Purge Instance Records Polling Interval and Save.

Using LDAP

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.

Steps

  • Perform test steps and the corresponding verifications.
  • In addition, verify the value of private attribute Instance Record Purge State of Series is PURGED on Series and Object level.
Clone this wiki locally