Skip to content

Bigtable: limit mutation sizes in the client to avoid overloading the server#3695

Merged
pongad merged 2 commits intogoogleapis:masterfrom
igorbernstein2:request-limit
Sep 18, 2018
Merged

Bigtable: limit mutation sizes in the client to avoid overloading the server#3695
pongad merged 2 commits intogoogleapis:masterfrom
igorbernstein2:request-limit

Conversation

@igorbernstein2
Copy link

No description provided.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 18, 2018
@igorbernstein2
Copy link
Author

@kevinsi4508, can you take a look when you have a moment?

"Byte size of mutations is too large");

numMutations++;
byteSize += mutation.getSerializedSize();

This comment was marked as spam.

This comment was marked as spam.

Copy link

@kevinsi4508 kevinsi4508 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a nit.

@InternalApi("Visible for testing")
static final int MAX_MUTATIONS = 100_000;
@InternalApi("Visible for testing")
static final int MAX_MUTATION_SIZE = 200 * 1024 * 1024;

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@igorbernstein2
Copy link
Author

@pongad this is ready for you when you get a chance

@pongad pongad merged commit 3fa1fa0 into googleapis:master Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants