Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This is a bugfix release. Several cases of pagination using select
with after was fixed or improved. Warning has been added to
potentially long select and count calls. Storage select errors
were reworked to be consistent with other calls errors.
Breaking changes
There are no breaking changes in the release.
New features
Optimize
crud.select()
without conditions and withafter
(PR Fix crud.select() + after behavior problems #295).A critical log entry containing the current stack traceback is
created upon potentially long
select
andcount
calls —an user can explicitly request a full scan through by passing
fullscan=true
toselect
orcount
options table argumentin which case a log entry will not be created (Write in log when see
select(nil)
#276).Bugfixes
Make select error description more informative when merger
built-in module or tuple-merger external module is used
in case of disabled/uninit storage (Calls to routers and storages when crud-router and crud-storage roles initialization is not finished yet #229).
crud.select()
if a condition is '<=' and it'svalue <
after
(PR Fix crud.select() + after behavior problems #295).Previous releases:
After this release:
crud.select()
filtration by a first condition if the conditionis '>' or '>=' and it's value >
after
(PR Fix crud.select() + after behavior problems #295).Previous releases:
After this release:
crud.select()
results order with negativefirst
(PR Fix crud.select() + after behavior problems #295).crud.select()
if a condition is '=' or '==' withnegative
first
(PR Fix crud.select() + after behavior problems #295).Suppose we have a non-unique secondary index by the field
age
field and a space:
Previous releases:
After this release: