Skip to content
Snippets Groups Projects

BaseRow.unique_key: Don't crash when indexer_configuration_id is None.

This always happens when writing to Kafka, as the Kafka writer sets it to None at the same it it injects the 'tool' data.

This was not caught by tests because they use the in-mem writer; which did not call unique_key() at all in swh-journal<=v0.5.1 (but future versions will).

Resolves swh/meta$881.


Migrated from D4622 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading