-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[server] remove setting sync record with limit #8644
Conversation
/hold
|
Codecov Report
@@ Coverage Diff @@
## main #8644 +/- ##
=======================================
Coverage 28.14% 28.14%
=======================================
Files 60 60
Lines 8308 8308
=======================================
Hits 2338 2338
- Misses 5793 5794 +1
+ Partials 177 176 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
@mustard-mh For globalState resource I see 31 revs, did you found something that causes this? |
@jeanp413 I think it's because of Original code looks fine, and it's correct with self-hosted Gitpod (one DB only) |
The original code, only in case of high concurrency, may have this problem. But according to the time of database rows, it is not a high concurrency. Original code only updates the last record and deletes the last record JSON file. If there is no high concurrency and only one database, it'll work fine. But we have cc @jeanp413 |
I removed this PR from IDE project and added the corresponding issue instead. |
I added cc @jeanp413 |
removed debug commit |
/unhold |
need to resolve merge conflicts now 👀 |
/werft run 👍 started the job as gitpod-build-hw-fix-8589.17 |
/werft run no-preview 👍 started the job as gitpod-build-hw-fix-8589.18 |
Description
Origin code looks fine. So sync-data more than 20, maybe it's caused by
db-sync
.This PR will alleviate this problem.
Related Issue(s)
Fixes #8589
How to test
How to access minio with UI
How to access your configuration?
Buckets -> search with your userId (Chrome DevTools to get it) -> Browser details -> blobs -> code-data -> globalState(which store your UI setting)
How to access setting sync table
How to trigger UI update request to server
Drag your DEBUG CONSOLE to TERMINAL (any of them)
Release Notes
Documentation