storage: kafka issue: Can't pickle <class 'cimpl.KafkaException'>: import of module 'cimpl' failed
All _add
entrypoints raise that issue at some point or another (not limited to but see [1] [2] [3] for example).
We need to find a way to circumvent this (that's noisy).
Either:
-
trap this exception and raise a wrapped swh one
-
stop using pickle as serialization?
-
other ideas?
-
[1] https://sentry.softwareheritage.org/share/issue/2a7f2df8dac3494fae5da930e27e4774/
-
[2] https://sentry.softwareheritage.org/share/issue/9bc7f0a095194c07b2b5a9f364c08cea/
-
[3] https://sentry.softwareheritage.org/share/issue/11e3f5a116134f469751321aab682775/
Migrated from T2239 (view on Phabricator)
Edited by Phabricator Migration user