pub fn with_global_commit_marker<F, R>(f: F) -> Rwhere F: FnOnce(&RefCell<HashMap<String, u64>>) -> R,