Remove tool ids from Kafka messages
1. they are internal to the DB so they do not belong in Kafka 2. on unrelated errors, they cause swh.journal to crash because it does not know how to handle integers in the output of unique_key()
Showing
- swh/indexer/storage/__init__.py 63 additions, 18 deletionsswh/indexer/storage/__init__.py
- swh/indexer/storage/in_memory.py 32 additions, 14 deletionsswh/indexer/storage/in_memory.py
- swh/indexer/storage/model.py 19 additions, 9 deletionsswh/indexer/storage/model.py
- swh/indexer/storage/writer.py 16 additions, 20 deletionsswh/indexer/storage/writer.py
- swh/indexer/tests/storage/test_model.py 42 additions, 11 deletionsswh/indexer/tests/storage/test_model.py
- swh/indexer/tests/storage/test_storage.py 25 additions, 4 deletionsswh/indexer/tests/storage/test_storage.py
Loading
Please register or sign in to comment