Skip to content

Release 0.14.0 #322

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

Merged
merged 1 commit into from
Sep 14, 2022
Merged

Conversation

DifferentialOrange
Copy link
Member

@DifferentialOrange DifferentialOrange commented Sep 13, 2022

Overview

This release introduces vshard group and non-default vshard routers support.

To use a space Cartridge vshard group, pass group name to a vshard_group request option.

local res, err = crud.select('customers',
                             {{'<=', 'age', 35}},
                             {first = 10, vshard_group = 'hot'})

To use non-default vshard router, pass router object to a vshard_group request option.

local my_router = vshard.router.new(name, cfg)
local res, err = crud.select('customers',
                             {{'<=', 'age', 35}},
                             {first = 10, vshard_group = my_router})

New features

Changes

Overview

  This release introduces vshard group and non-default vshard routers
  support.

  To use a space Cartridge vshard group, pass group name to a request
  `vshard_group` option.

  ```lua
  local res, err = crud.select('customers',
                               {{'<=', 'age', 35}},
                               {first = 10, vshard_group = 'hot'})
  ```

  To use non-default vshard router, pass router object to a request
  `vshard_group` option.

  ```lua
  local my_router = vshard.router.new(name, cfg)
  local res, err = crud.select('customers',
                               {{'<=', 'age', 35}},
                               {first = 10, vshard_group = my_router})
  ```

New features

  * vshard group and non-default vshard routers support (#44).

Changes

  * Deprecate using space id in crud.len (#255).
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/release-0.14.0 branch from 33fd600 to fd11b2d Compare September 14, 2022 08:01
Copy link

@LeonidVas LeonidVas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@DifferentialOrange DifferentialOrange merged commit f1b6a12 into master Sep 14, 2022
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/release-0.14.0 branch September 14, 2022 08:22
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

Successfully merging this pull request may close these issues.

2 participants