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

Skip to content

rawkv: scan return 0 kv pair while exist key ByteString.EMPTY #540

Description

@iosmanthus

Bug Report

1. Describe the bug

rawScan interface will return 0 KV-pair while there is an empty key inserted. It could be introduced by the warmup phase of client-java.

2. Minimal reproduce step (Required)

client.put(ByteString.EMPTY, ByteString.EMPTY);
System.out.println(client.scan(ByteString.EMPTY, 2).size());

3. What did you see instead (Required)

Output 1

4. What did you expect to see? (Required)

Output 0

5. What are your Java Client and TiKV versions? (Required)

  • Client Java: master
  • TiKV: v5.0.3

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions