This is an automated email from the ASF dual-hosted git repository.

rkk pushed a commit to branch cm-remote-collections
in repository https://gitbox.apache.org/repos/asf/sdap-ingester.git

commit 170c5494d783dde9b7eb29a57ecf8797cde406e3
Author: Riley Kuttruff <[email protected]>
AuthorDate: Tue Mar 3 15:05:36 2026 -0800

    Skip remote collections
---
 collection_manager/collection_manager/services/CollectionWatcher.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/collection_manager/collection_manager/services/CollectionWatcher.py 
b/collection_manager/collection_manager/services/CollectionWatcher.py
index 94863fd..533be0c 100644
--- a/collection_manager/collection_manager/services/CollectionWatcher.py
+++ b/collection_manager/collection_manager/services/CollectionWatcher.py
@@ -101,6 +101,10 @@ class CollectionWatcher:
             logger.info('Refreshing collection config')
 
             for collection_dict in collections_yaml['collections']:
+                if 'remote-id' in collection_dict:
+                    logger.info(f'Collection "{collection_dict.get("id", "NO 
ID")}" is remotely configured. Skipping.')
+                    continue
+
                 try:
                     collection = Collection.from_dict(collection_dict)
                     if collection.storage_type() == CollectionStorageType.ZARR:

Reply via email to