Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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