<html><body><pre>
                      ENSTORE release notes, from ENSTORE_RPM_2_0_0_1 to ENSTORE_RPM_2_0_1_0

Encp changes:
=============


Misc.:
======


                      Detailed cvs commit logs


========== manage_queue.py ====================================================================================

Clean external_label entry in write request. This entry is a result of the volume assignement in some previous request processing cycle, when volume was assigned, but later request was not selected (usually for fair share reason). 

========== info_server.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== inventory.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== quota.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== file_clerk.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== weekly_summary_report.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== volume_clerk.py ====================================================================================

pass max_connections parameter to VolumeDB. Set max_connections to max_threads+1 http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=660 http://uqbar.fnal.gov/reviews/r/84 

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

fix enstore volume --history command introduction of to_char(time, ...) broke the client. modified SQL statement to provide the key name the client expects RB: http://uqbar/reviews/r/58/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=622 

========== media_changer.py ====================================================================================

Changed STK media changer to send e_errors.MC_VOLNOTFOUND when "Unreadable label" is returned by ACSSA. (bz 641) 

========== duplicate.py ====================================================================================

Fixed compatibility issue between migrate.py and duplicate.py for get_filenames() and duplicate_metadata()/swap_metadata(). (bugzilla #638, review board #72). 

========== enstore_pg.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== operation.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== edb.py ====================================================================================

convert specialized dictionary returned by psycopg2 into ordinary dictionary on the fly. Fixes ticket: INC000000029450 http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=667 http://uqbar/reviews/r/88 

BUG FIX (URGENT): replace utctimetuple() with timetuple() when handling datetime.datetime. http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=655 http://uqbar/reviews/r/83/ 

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== enstore_status.py ====================================================================================

modified to take into account a new format of log message. 

========== migrate.py ====================================================================================

1) migrate.migrate_files() takes a list of bfids, not a list of file_records. 2) Handle files in active_file_copying table that have already been migrated. 3) Handle files in active_file_copying table that have had their original copies migrated. 4) Handle files in active_file_copying table that have an unknown deleted status. (bugzilla #639, review board #73) 

Fixed --status output to handle showing multiple copy files, not just those from migration, duplication or cloning. (bugzilla #605, review board #48) Have the migration code add migration table information retroactively for files migrated to multiple copies. Also, show the multiple copies with a 1 in the S --status output column. (bugzilla #406, review board #48) 

Address the queue size for migration. (bugzilla bug #571, review board #47) 

Added feature that migrate.py --status can now output information on multiple copies not produced using duplication. (bugzilla bug #605, review board #48) Also, modified the --status help string to include information on the S, D and B fields. 

========== drivestat_server.py ====================================================================================

extract and pass database user parameter to drivestat database (it was overlooked in previous attempt to address this issue) Bugzilla: http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=676 RB: http://uqbar/reviews/r/104 

========== accounting.py ====================================================================================

BUG FIX: fix exception in accounting server RB: http://uqbar/reviews/r/65/ Bugzilla: http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=637 

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== dispatching_worker.py ====================================================================================

ADDED FEATURE: furnish dispatching_worker.thread_wrapper with printing of function execition time http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=661 http://uqbar/reviews/r/85/ 

========== mover.py ====================================================================================

Set volume to NOACCESS if e_errors.MC_VOLNOTFOUND is returned by media changer.(bz 641) 

Legacy enstore disk file read was broken when the new local name convention was introduced, which resulted in inability to read old enstore disk files. 

Bugzilla ticket 591 1. Code cleanup. 2. Moving common for tape and disk mover parts into one place. 3. Changed volume name in DiskMover 4. Convert pnfs id into local file name for DiskMover 

========== esgdb.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== accounting_server.py ====================================================================================

always specify username to database access API http://uqbar/reviews/r/63/ http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=630 

========== library_manager.py ====================================================================================

library manager incorrectly handled admin priority read and write requests which resulted in: volume dismounts numerous times during scan. If in the request queue there are read and write requests with administrative priority with the same volume family then: If completed request was READ then in some cases there is an attempt to select write request for the bound volume if this volume can not be written it results in skippng this volume and its consequent dismount even if there are pending read requests. (bz #674) 

Library Manager contacted volume clerk for information which is already in the read request ticket when adding request to the queue. Remove this call and get information directly from the ticket. Also few Traces added for better debugging. There also were some KeyErrors that need a better handling and debugging to better identify their causes. 

========== drivestat2.py ====================================================================================

extract and pass database user parameter to drivestat database (it was overlooked in previous attempt to address this issue) Bugzilla: http://www-ccf.fnal.gov/Bugzilla/show_bug.cgi?id=676 RB: http://uqbar/reviews/r/104 

========== udp_server.py ====================================================================================

Add log messages to reply_with_list for a case when deepcopy fails. 

</pre></body></html>
