Skip to content
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

Support readview #343

Closed
DifferentialOrange opened this issue Feb 20, 2023 · 0 comments · Fixed by #372
Closed

Support readview #343

DifferentialOrange opened this issue Feb 20, 2023 · 0 comments · Fixed by #372
Assignees
Labels
5sp feature A new functionality teamE

Comments

@DifferentialOrange
Copy link
Member

readview API was introduced in Tarantool EE 2.11: https://github.com/tarantool/tarantool-ee/issues/140 . It is a way to get a consistent view of a space data.

Product team API proposal is as follows:

local readview = crud.readview{option = optvalue, ...}

local lst = readview:select(...)

for _, tuple in readview:pairs(...) do
...
end

readview:close()

Options:

  • lazy -- boolean (create readview on each instance on crud.readview or only when instance has been reached),
  • ttl of a readview.
@DifferentialOrange DifferentialOrange added feature A new functionality teamE labels Feb 20, 2023
@better0fdead better0fdead self-assigned this Aug 1, 2023
better0fdead added a commit that referenced this issue Sep 14, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 14, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 14, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 14, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 20, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 21, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 21, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 21, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 21, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 21, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added readview support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added read view support for select and pairs.

Closes #343
better0fdead added a commit that referenced this issue Sep 26, 2023
Added read view support for select and pairs.

Closes #343
DifferentialOrange pushed a commit that referenced this issue Sep 27, 2023
Added read view support for select and pairs.

Closes #343
DifferentialOrange added a commit that referenced this issue Sep 27, 2023
Overview

  This release introduces read view support for select and pairs.
  A read view is an in-memory snapshot of data on instance that isn't
  affected by future data modifications. For a sharded cluster, we open
  a read view on each storage when one is requested from the router.

New features
  * Read view support for select and pairs (#343).
DifferentialOrange added a commit that referenced this issue Sep 27, 2023
Overview

  This release introduces read view support for select and pairs.
  A read view is an in-memory snapshot of data on instance that isn't
  affected by future data modifications. For a sharded cluster, we open
  a read view on each storage when one is requested from the router.
  Read views are supported for Tarantool Enterprise since 2.11.

New features
  * Read view support for select and pairs (#343).
DifferentialOrange added a commit that referenced this issue Sep 27, 2023
Overview

  This release introduces read view support for select and pairs.
  A read view is an in-memory snapshot of data on instance that isn't
  affected by future data modifications. For a sharded cluster, we open
  a read view on each storage when one is requested from the router.
  Read views are supported for Tarantool Enterprise since 2.11.

New features
  * Read view support for select and pairs (#343).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5sp feature A new functionality teamE
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants