gecko-dev/third_party
Nan Jiang ac0e950c6e Bug 1543861 - Add auto resizing for kvstore r=myk
This patch implements the auto resizing to handle the MDB_MAP_FULL error. It adds two resizing strategies: 1). Active resizing to increase the store size when it gets opened; 2). Passive resizing to increase the store size when the write transaction encounters the MDB_MAP_FULL error. There are no changes to kvstore APIs, existing consumers will get this feature working without any changes to their code.

Differential Revision: https://phabricator.services.mozilla.com/D32216

--HG--
extra : moz-landing-system : lando
2019-05-24 20:38:23 +00:00
..