Skip to content

Commit

Permalink
docs: add grpc max size to troubleshooting (#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
callmehiphop authored and stephenplusplus committed Nov 4, 2016
1 parent 139e556 commit 881ef7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,8 @@ async.eachLimit(subscriptions, PARALLEL_LIMIT, deleteSubscription, function(err)
This will only allow 10 at a time to go through, making it easier on the API to keep up with your requests.

Reference Issue: [#1101](https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1101)


## gRPC received a message exceeding the max size.

If you're seeing an error message saying that your gRPC request is exceeding the max size, you may need to send smaller individual requests. Request bodies should not exceed 4MB.
4 changes: 3 additions & 1 deletion packages/bigtable/src/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,9 @@ Table.prototype.getRows = function(options, callback) {
};

/**
* Insert or update rows in your table.
* Insert or update rows in your table. It should be noted that gRPC only allows
* you to send payloads that are less than or equal to 4MB. If you're inserting
* more than that you may need to send smaller individual requests.
*
* @param {object|object[]} entries - List of entries to be inserted.
* See {module:bigtable/table#mutate}.
Expand Down

0 comments on commit 881ef7c

Please sign in to comment.