Skip to content

Conversation

@ti-srebot
Copy link
Collaborator

@ti-srebot ti-srebot commented Dec 9, 2021

cherry-pick #376 to release-3.1
You can switch your code base to this Pull Request by using git-extras:

# In client-java repo:
git pr https://github.com/tikv/client-java/pull/377

After apply modifications, you can push your change to this PR via:

git push git@github.com:ti-srebot/client-java.git pr/377:release-3.1-8dcd2c14f110

Signed-off-by: iosmanthus myosmanthustree@gmail.com

What problem does this PR solve?

We find some initialization work that needs to do in the first gRPC call in SmartRawKVClient which might result in a timeout in the first few gRPC calls.

First run:

image

Second run:

image

What is changed and how it works?

To solve this problem, we may launch a raw_get request to warm up the runtime.

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Collaborator Author

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants