From 149e03813a5e5243f7c9945e184c2c24ddf51c5f Mon Sep 17 00:00:00 2001 From: Nelson Torres Date: Wed, 29 Jan 2025 23:50:27 +0000 Subject: [PATCH] Ignore non-`.parquet` (suffixed) paths for now during tsdb fs-indexing --- piker/storage/nativedb.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/piker/storage/nativedb.py b/piker/storage/nativedb.py index bc7f10e3..941b519f 100644 --- a/piker/storage/nativedb.py +++ b/piker/storage/nativedb.py @@ -161,7 +161,12 @@ class NativeStorageClient: def index_files(self): for path in self._datadir.iterdir(): - if path.name in {'borked', 'expired',}: + if ( + path.name in {'borked', 'expired',} + or + '.parquet' not in str(path) + ): + # ignore all non-apache files (for now) continue key: str = path.name.rstrip('.parquet')