[ACIR-2] When multiple query xml files are dropped in query folder at once, files can get deployed to wrong folders Created: 25/Jan/11  Updated: 26/Jan/11  Resolved: 26/Jan/11

Status: Closed
Project: ACIr
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: sokeeffe Assignee: sokeeffe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
Have only seen this once so far. Seems like it may be a race condition - where the extract id is the same in both cases - and so it returns the wrong deployer.

 Comments   
Comment by sokeeffe [ 26/Jan/11 ]
The extractId was generated based on the system time in milliseconds. This extract id is used to retrieve deployers, transformers etc for the particular query. This was not always random enough when multiple xml files were read at once.

I appended to the extractId that actual extract-id element in the query xml file itself (in the example this is id123). The assumption is that if multiple queries were dropped - each should have a different ID configured.
Generated at Sat Feb 10 05:45:42 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.