PolymerLabs / arcs

Arcs
BSD 3-Clause "New" or "Revised" License
56 stars 35 forks source link

Update DatabaseImpl to support the shortened inline storage key protocol. #7097

Closed copybara-service[bot] closed 3 years ago

copybara-service[bot] commented 3 years ago

Update DatabaseImpl to support the shortened inline storage key protocol.

That is, i| instead of inline://

Note that these changes are not behind a flag, because the SQL statements were verbose enough already and I didn't want to copy them. The additions should be harmless while the flag is off.

Also updated the test to be parameterized by the STORAGE_KEY_REDUCTION flag, and increased the number of shards from 5 to 20, to account for the massively increased number of tests being run (2 flag parameters => 4x total)