kvproto icon indicating copy to clipboard operation
kvproto copied to clipboard

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

Open liujp opened this issue 1 year ago • 2 comments

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

liujp avatar Sep 26 '23 06:09 liujp

@YuJuncen could you help to reply this issue?

disksing avatar Oct 07 '23 03:10 disksing

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

liujp avatar Oct 09 '23 00:10 liujp