Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

KVS - Limitations and behaviors of Keys #1234

Answered by andriytk
keithpine asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @keithpine, let me try to answer. cc @nikitadanilov, @madhavemuri, @just-now, @ivan-alekhin, @huanghua78.

  1. I think, the limit is imposed by the BE (back-end) maximum transaction size for key+value at the server side, which is configured with these parameters:
    #MOTR_M0D_BETXGR_REG_SIZE_MAX=134217728
    #MOTR_M0D_BETXGR_PAYLOAD_SIZE_MAX=134217728
  2. Yes, limited by memcmp(k1, k2, len) performance on log(n) records in the index.
  3. Not that I'm aware of.
  4. See here:

    cortx-motr/motr/client.h

    Lines 369 to 372 in 47e7b4a

    * An index stores records, each record consisting of a key and a value. Keys

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by keithpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants