work_dir is wal_dir.