Skip to content

Instantly share code, notes, and snippets.

@rtsisyk
Created February 16, 2017 13:17
Show Gist options
  • Save rtsisyk/ee496000cbd7cbf0476febaf894c79a6 to your computer and use it in GitHub Desktop.
Save rtsisyk/ee496000cbd7cbf0476febaf894c79a6 to your computer and use it in GitHub Desktop.

run_info

Current format:

  • xrow header:
    • IPROTO_REQUEST_TYPE: IPROTO_REPLACE;
    • IPROTO_LSN: unsigned = run_info->min_lsn
  • xrow body map: IPROTO_TUPLE: VY_RUN_MIN_LSN = 1: unsigned = run_info->min_lsn VY_RUN_MAX_LSN = 2: unsinged = run_info->max_lsn VY_RUN_PAGE_COUNT = 3: unsinged = run_info->cou VY_RUN_BLOOM = 4: VY_RUN_BLOOM_TABLE_SIZE = 1: unsinged VY_RUN_BLOOM_HASH_COUNT = 2: unsinged VY_RUN_BLOOM_VERSION = 3: unsinged VY_RUN_BLOOM_TABLE = 4: raw

Proposal:

  • xrow header:
    • IPROTO_REQUEST_TYPE: VY_RUN_INFO;
  • xrow body map: VY_RUN_MIN_LSN = 1: unsigned = run_info->min_lsn VY_RUN_MAX_LSN = 2: unsinged = run_info->max_lsn VY_RUN_PAGE_COUNT = 3: unsinged = run_info->cou VY_RUN_BLOOM = 4: VY_RUN_BLOOM_TABLE_SIZE = 5: unsinged VY_RUN_BLOOM_HASH_COUNT = 6: unsinged VY_RUN_BLOOM_VERSION = 7: unsinged VY_RUN_BLOOM_TABLE = 8: raw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment