allow disable partial bucket on app upgrade

Bug: 112630210
Test: unit test
Change-Id: I2de38d35f14b813d2837455a322acc2e00813e3b
7 files changed