Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#2493 closed enhancement (fixed)

wcst_import - enhance checking if input file in coverage_id.resume.json

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: wcst_import Version: 9.8
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

Currently, wcst_import takes too long time to check if an input file was imported in coverage_id.resume.json.

This must be enhanced to be O(1) time.

Change History (2)

comment:1 by Bang Pham Huu, 3 years ago

Resolution: fixed
Status: assignedclosed

comment:2 by Dimitar Misev, 3 years ago

I submitted a patch to also fix an error in the wcst_import.sh script which has invalid syntax and prints error /opt/rasdaman/bin/wcst_import.sh: 116: [[: not found:

 # default it is 3600 seconds for daemon's interval time
-if [[ -z "$watch_interval" ]]; then
+if [ -z "$watch_interval" ]; then
     watch_interval=3600
 fi
Note: See TracTickets for help on using tickets.