Scheduled Downtime
On Wednesday 09 March 2022 from 6am to 10am MT, the website will be down for maintenance

CESM1.3 beta 10 env*.xml files may get corrupted if quota is reached

jshollen

New Member
It has been noted that env*.xml files may become corrupted if one reaches their quota during case creation or modification. A fix will be forthcoming as of beta11..
 

santos

Member
This still occurs if e.g. xmlchange is interrupted during a write, which actually is pretty easy to do by accident, because xmlchange is slow. We may want to consider guarding against this somehow (the simplest solution is probably to write to a temporary file, then do an "mv" to atomically replace the old file with the new one).Of course if xmlchange is rewritten to write the file faster (currently it is slow due to XML::Lite?), we may have a lower chance of corruption simply due to there being a smaller window during which the I/O can be interrupted.
 
Top