Silo
Silo copied to clipboard
Silo doesn't detect attempt to write on read-only file
Ultimately, an attempt to write data to a silo file that is NOT opened with DB_APPEND will fail. However, it will fail with useless lowlevel error messages instead of simply indicating that an attempt to write on a readonly file. Unfortunately, its tedious to fix. The public file handle needs to have a new flag added for whether the file is open for writing and then every high-level API method needs to have logic added to perform this check.
-----------------------REDMINE MIGRATION----------------------- This ticket was migrated from Redmine. As such, not all information was able to be captured in the transition. Below is a complete record of the original redmine ticket.
Ticket number: 2735 Status: New Project: VisIt Tracker: Bug Priority: Normal Subject: Silo doesn't detect attempt to write on read-only file Assigned to: - Category: - Target version: - Author: Mark Miller Start: 01/03/2017 Due date: % Done: 0% Estimated time: Created: 01/03/2017 02:10 pm Updated: Likelihood: 3 - Occasional Severity: 2 - Minor Irritation Found in version: 4.8 Impact: Expected Use: OS: All Support Group: Any Description: Ultimately, an attempt to write data to a silo file that is NOT opened with DB_APPEND will fail. However, it will fail with useless lowlevel error messages instead of simply indicating that an attempt to write on a readonly file. Unfortunately, its tedious to fix. The public file handle needs to have a new flag added for whether the file is open for writing and then every high-level API method needs to have logic added to perform this check.
Comments: