TDM Reservations from Months Ago Are Not Being Removed from Orientdb

book

Article ID: 194637

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

I wrote custom javelin that connects to Orientdb as Reader and does 

"command/ReservationDB/sql/select payL from Reservation where rcId=" &Vmodelid & "/1?"

I then create a json shred in tdm server and then I run same command without /1 to get all records for the model. It brings back data from several months ago. I thought the expire process would remove these??

When a reservation expires, is the TDM Processor just removing a link/node from another table?

Looking at the data the expiry date has 2119 for a year. Given the settings in tdmproperties file, why is it putting it 100 years in the future for the expiry date?

Attached TDM Reservation properties file and webex showing the issue. One thing I just notice around 3:50 second mark the expirydate and scheduled date that come in the TDM Root Table. Attaching screen shot from CSV.

4.7.114 

Cause

 

Working by design.

Environment

Release : 4.7.114

Component : CA Test Data Manager - TDM Web Portal

Resolution

As per our sustaining engineering team, this is working by design.

ReservationMonitorJob- this job is responsible for getting the all success and expired reservations from orient db Reservation schema and check expiry date of every reservation, if it is before the today date and time then it will update that reservation as expired and will schedule a job to unreserve the data.

DataReservationJobLoader.java- this job loader is responsible to schedule the ReservationMonitorJob based on the reservationExpiryCheck flag.
By default this flag is false, and we never change it to true, so the job loader does not schedule ReservationMonitorJob.

Hence no reservation mark expired and purged based on the expiry.

Auto release of reservations based on expiry date is not supported.

Additional Information

 

User Story, US684075, created for this request.