trustgraph/trustgraph-flow/trustgraph/librarian
cybermaggedon fd8d5b2c42
Recent fixes -> release/v2.4 (#891)
* Fix publisher resource leak in librarian submit_document (#883)

Wrap pub.start()/pub.send() in try/finally to guarantee pub.stop() is
called on error. Remove unnecessary asyncio.sleep(1) kludge.

* Make Cassandra replication factor configurable (issue #787) (#887)

Add CASSANDRA_REPLICATION_FACTOR environment variable and
--cassandra-replication-factor CLI argument to cassandra_config.py.

Update all four table store constructors (ConfigTableStore,
KnowledgeTableStore, LibraryTableStore, IamTableStore) to accept
an optional replication_factor parameter and use it in keyspace
creation CQL queries.

Thread the replication factor through all service constructors:
Configuration, KnowledgeManager, Librarian, IamService, and
knowledge store Processor.

* Update tests

---------

Co-authored-by: gittihub-jpg <rico@springer-mail.net>
2026-05-08 19:48:12 +01:00
..
__init__.py Librarian (#304) 2025-02-11 16:01:03 +00:00
__main__.py Librarian (#304) 2025-02-11 16:01:03 +00:00
blob_store.py feat: implement retry logic and exponential backoff for S3 operations (#829) 2026-04-18 12:05:37 +01:00
collection_manager.py Per-workspace queue routing for workspace-scoped services (#862) 2026-05-04 10:30:03 +01:00
librarian.py Recent fixes -> release/v2.4 (#891) 2026-05-08 19:48:12 +01:00
service.py Recent fixes -> release/v2.4 (#891) 2026-05-08 19:48:12 +01:00