msfrank/terane — Issue #31: remove usage of DB->stat() to count DB items
Author: msfrank
Created: 2011-11-09 08:04:55+00:00
State: open
Labels: bug

when a DB gets large, DB->stat() requires lots of locks, and this doesn't scale well. instead of using DB->stat() to count segment documents, we should keep an internal counter.