Skip to content

[2pt] Truncate #91

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

Closed
dokshina opened this issue Nov 20, 2020 · 0 comments · Fixed by #92
Closed

[2pt] Truncate #91

dokshina opened this issue Nov 20, 2020 · 0 comments · Fixed by #92
Milestone

Comments

@dokshina
Copy link
Contributor

Sometimes we need to truncate all data in all spaces.

local ok, err = crud.truncate(space_name, opts)

where:

  • space_name (string) - name of the space
  • opts:
    • timeout (?number) - vshard.call timeout (in seconds)
olegrok added a commit that referenced this issue Nov 20, 2020
This patch implements "crud.truncate" call. It's needed for spaces
truncation.

Closes #91
olegrok added a commit that referenced this issue Nov 23, 2020
This patch implements "crud.truncate" call. It's needed for spaces
truncation.

Closes #91
olegrok added a commit that referenced this issue Nov 23, 2020
This patch implements "crud.truncate" call. It's needed for spaces
truncation.

Closes #91
olegrok added a commit that referenced this issue Nov 23, 2020
This patch implements "crud.truncate" call. It's needed for spaces
truncation.

Closes #91
@knazarov knazarov added this to the Q4 2020 milestone Dec 1, 2020
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 a pull request may close this issue.

2 participants