[datasets]Use hidden lockfiles paths for tar files.
Issue
@@ -63,7 +63,7 @@ class TarDataset(FilesDataset):
self._installed = False
self._tar_extracted_marker = self.site_data_path / ".extracted"
self._tar_lock = Lock()
- self._tar_lockfile = self.site_data_path / "LOCK"
+ self._tar_lockfile = self.site_data_path / ".install_lock"
@property
def installed(self) -> bool:
@@ -149,7 +149,7 @@ class TarDatasetWithManifest(TarDataset):
self._manifest_path = self.site_data_path / f"manifest-{manifest_sha256}.txt"
self._manifest_lock = Lock()
- self._manifest_lockfile = self.site_data_path / "manifest.LOCK"
+ self._manifest_lockfile = self.site_data_path / ".manifest_lock"
def _read_manifest(self, manifest_data: str) -> List[str]:
"""Read the manifest data into a list of URIs. Does not validate the
