You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we keep a record of all available records in a collection, in an "allids" file. This is just a list of all record ids in that collection (which can be sharded).
Since implementing this, I had to add a datastore.getFolderContents(path) method - which lists all items in a "folder".
We should now get rid of the "allids" mechanism.
Instead, we should be able to recursively call getFolderContents to iterate through all records.
No public api should change. So, all tests should still pass, except ones that refer to the "allids" files (or shard files) directly.
This new method should respect all existing sharding rules.
The text was updated successfully, but these errors were encountered:
Currently, we keep a record of all available records in a collection, in an "allids" file. This is just a list of all record ids in that collection (which can be sharded).
Since implementing this, I had to add a
datastore.getFolderContents(path)
method - which lists all items in a "folder".We should now get rid of the "allids" mechanism.
Instead, we should be able to recursively call
getFolderContents
to iterate through all records.No public api should change. So, all tests should still pass, except ones that refer to the "allids" files (or shard files) directly.
This new method should respect all existing sharding rules.
The text was updated successfully, but these errors were encountered: