-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Switch indexeddb backend to sqlite and improve IPC messaging #38187
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
Conversation
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
1 similar comment
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
82e6ed1
to
43f3335
Compare
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#53885) with upstreamable changes. |
servo-wpt-sync should really not open PRs in the wpt repo for a draft pr. |
Note to self: use git-cherrypick next time. |
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#53885). |
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#53885). |
🤖 This change no longer contains upstreamable changes to WPT; closed existing upstream pull request (web-platform-tests/wpt#53885). |
2a68cc3
8000
a> to
98e1bba
Compare
@jdm I think the pr is ready for review when you get the time. |
I really appreciate the work you're doing here, but batching multiple PRs together into one PR with 26 commits is not going to work for me. Incremental work that can exist in its own PR is easier to 1) review, 2) understand, and 3) identify regressions. I would really appreciate if you could extract this work into separate PR 8000 s. |
I can probably branch off part of key ranges and the cmp method, but the bulk of the work is tightly coupled (I rewrote the messaging system when I rewrote the backend system to reduce the amount of work needed). |
883dcf6
to
bf9d060
Compare
b761237
to
fe4394d
Compare
Fixed merge conflicts, should be good to go again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed everything but engines/sqlite.rs before I ran out of time. I'll try to get back to this by tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking pretty close to mergeable!
7440
f63ee3a
to
9b979d9
Compare
This can merge once |
2385280
to
cbcb85a
Compare
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
cbcb85a
to
2efb683
Compare
Alright, should be fixed. |
…8187) - Use sqlite instead of heed. (one indexed database = one sqlite database) - Implement the backend for indexes - Use keyranges where needed (as specified by the spec) - Implement `getKey` - Fix channel error messaging (led to a bunch of changes to how async requests are handled) Note: `components/net/indexeddb/engines/sqlite/serialize.rs` is unused; I can delete it if needed. Testing: Switching to sqlite eliminated many panics (exposing some new failures). Fixes: servo#38040 --------- Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
getKey
Note:
components/net/indexeddb/engines/sqlite/serialize.rs
is unused; I can delete it if needed.Testing: Switching to sqlite eliminated many panics (exposing some new failures).
Fixes: #38040