Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] The difference of the ImportSST::Upload and Ingest Write/RawWrite #1192

Open
liujp opened this issue Sep 26, 2023 · 2 comments
Open

Comments

@liujp
Copy link

liujp commented Sep 26, 2023

image

My question is that : How to use the Write/Rawrite RPC method to write the key-values to the tikvcluster?

  1. Should the key-value to be written be ordered? if so, the it seems no different with the upload and ingest;

  2. I write the values using this interface, there is an error, invalid chunk:
    image

  3. how to write key-values to the tikv cluster properly, Can it be compatible with
    image

@disksing
Copy link
Contributor

disksing commented Oct 7, 2023

@YuJuncen could you help to reply this issue?

@liujp
Copy link
Author

liujp commented Oct 9, 2023

Got that, the writer is transaction writer while the rawWrite is for rawKv writer, and both writer is a rocksdb engine, so the batch key-values to be written in can be un-order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants