cubicweb-dataio #2579000 Massive store - Improve flush metadata [open]

The flush_metadata() and clean() functions are time consuming. See if it is possible to improve their speed (threads/multiprocess/concurent indexes creation, ...)

prioritynormal
typebug
done in<not specified>
load2.000
load left2.000
closed by<not specified>