We are receiving the error REQUEST_SIZE_LIMIT_EXCEEDED when creating new Partitions. Do we have 5,000 limit on Partitions as well? Is this for a session or for the entire Partition level, meaning can we have more than 5,000 sub-divisions within a single level?
If we cannot exceed 5,000 per session when creating a Partition, we cannot adopt the method of dropping and re-creating the whole Partition whenever we modify the Partition. Because when we have more than 5000 sub-divisions; first, we have to create the new Partition with first 5,000 items (sub-divisions) and then modify the same Partition to continue attaching the rest of the sub-divisions. Will this be the case with Partition having more than 5,000 sub-divisions (items)?
Thanks Sergio for the info given, However can Google make this process simpler than what you’ve mentioned below, by adopting the process that we always use when creating a file with large volume of data in it, such as;
1. Create the file Handler with a unique file name.
2. Use the file Handler created and write data multiple times to it without exceeding the buffer limit.
3. Close the file Handler to create the complete file and finalize the creation of it.
In the context of Partitions, we could adopt the above theory as follows.
1. Create the Partition root node and obtain the Root Node ID (Handler).
2. Create subsequent levels using the Root Node ID mentioned above by posting data multiple times without exceeding the 5000 limit (Google won’t validate the Partition at this level).
3. Signal the completion of Partition creation (with a Google API call) using the same Root Node ID so that Google could then start the process of validating the Partition as a whole unit.
I believe, this sort of a method would be very much easier to adopt and not complicated at all, also it gives a chance to Google to process the Partition as whole at the end. If the Partition creation has never been closed with a time period (set by Google) in the 3rd step above, Google may discard the Partition creation as an abandon operation.
Is there any way we can do something like this for Google Partitions? I have some more ideas of the same if interested.