| 72 | /// Separate WAL for catalog operations |
| 73 | #[derive(Debug)] |
| 74 | pub struct CatalogWAL { |
| 75 | /// Directory for catalog WAL files |
| 76 | catalog_wal_dir: PathBuf, |
| 77 | /// Current catalog WAL writer |
| 78 | writer: Arc<Mutex<Option<BufWriter<File>>>>, |
| 79 | /// Catalog WAL file number |
| 80 | file_number: Arc<Mutex<u64>>, |
| 81 | } |
| 82 | |
| 83 | impl WALEntry { |
| 84 | /// Create a new WAL entry |
nothing calls this directly
no outgoing calls
no test coverage detected