Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

elisheva-qlogic
Copy link
Contributor

EXPERIMENTAL
Created unsafe mutation split option for bulk mutations

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 28, 2018
@sduskis sduskis changed the title Unsafe mutation split option WIP: Unsafe mutation split option Sep 28, 2018
// split subSets into several entries of 100,000
for (List<Mutation> mutations : subSets) {
ListenableFuture<MutateRowResponse> childFuture = sendDirect(entry.getRowKey(), mutations);
Futures.addCallback(childFuture, new FutureCallback<MutateRowResponse>() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This callback needs to be created outside the for loop, otherwise, success will never be more than 1.

@igorbernstein2
Copy link
Collaborator

I thought we decided that this should be done only for the import job?

@sduskis
Copy link
Contributor

sduskis commented Sep 28, 2018

@igorbernstein2, the use case in #1919 turned out to be a different use case. I suggested that the author submits a PR as WIP for the work so far, and we can add some discussion here.

@sduskis
Copy link
Contributor

sduskis commented Nov 28, 2018

@elisheva-qlogic, can we close this, or is there more work to be done in this PR?

@elisheva-qlogic
Copy link
Contributor Author

We can close it

@sduskis sduskis closed this Nov 28, 2018
gcf-owl-bot bot added a commit that referenced this pull request Apr 15, 2024
* feat: add libraries_bom_version

* add unit tests

* remove isfile

* add tempdir

* restore

* add current dir

* restore template

* remove unit test

* restore templates
Source-Link: googleapis/synthtool@63cc541
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:dc11e2119c854b57b7f7ed9962391decf002454700020a52b5d0d46c40b80a7e
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.

4 participants