mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #117] Issue with index created on large set of existing dates #68
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @donl on GitHub (Jun 15, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/117
I seem to have an issue when creating an index on a large set of existing date values.
Hopefully the code below is helpful. Sorry for any bad practices :)
In some instances on subsequent executions (without deleting the db) I get an assertion error:
Assertion failed: Node entries are not sorted ok@appy-one commented on GitHub (Jun 16, 2022):
I worked quite a bit on the indexes lately. Can you check if you are using the latest version?
@donl commented on GitHub (Jun 16, 2022):
Running
1.21.4I see there is
api.getServerInfo()that returns the server version. Is there a good way to get the AceBase and/or AceBase-client version?@appy-one commented on GitHub (Jun 16, 2022):
I'll investigate what's going wrong
@appy-one commented on GitHub (Jun 16, 2022):
I found the issue, published a fix in v1.21.5. Thanks for the great example code, that saved a lot of work!
@appy-one commented on GitHub (Jun 16, 2022):
Not yet, I'll implement that 👍🏼