commit | 5cb852901f7438d1310c06cc5740294344b8a9d7 | [log] [tgz] |
---|---|---|
author | Nick Vatamaniuc <vatamane@gmail.com> | Wed Apr 24 16:52:35 2024 -0400 |
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | Wed Apr 24 21:20:10 2024 -0400 |
tree | da0120d966e894869d2177dcff04c60ab1277711 | |
parent | 7388b528ac6d5d8ff719b68d9c2ea23573be02c2 [diff] |
Optimise fabric:all_dbs() Previous version was awefully inefficient: we only need the dbname, but we opened each document body, parsed the shards out of it, generated Q*N shards, then put them in a list and usorted them back down to a list of dbnames. We don't use this in many places (mem3 security sync, fabric bench) but it might be nice to have an efficient version of it anyway.