-
Notifications
You must be signed in to change notification settings - Fork 180
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
[full-ci] Rescan spaces #4777
Merged
Merged
[full-ci] Rescan spaces #4777
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
aduffeck
force-pushed
the
rescan-spaces
branch
from
October 12, 2022 13:40
153489e
to
18394a1
Compare
Note: Depends on cs3org/reva#3340 |
💥 Acceptance test Core-API-Tests-ocis-storage-1 failed. Further test are cancelled... |
aduffeck
force-pushed
the
rescan-spaces
branch
from
October 13, 2022 09:27
8678a72
to
6825e84
Compare
butonic
approved these changes
Oct 13, 2022
The debouncer can be used to delay operations on spaces until things have settled down to avoid doing the same operation multiple times.
aduffeck
force-pushed
the
rescan-spaces
branch
from
October 14, 2022 07:06
8c71fc4
to
04a1c4e
Compare
aduffeck
force-pushed
the
rescan-spaces
branch
from
October 14, 2022 08:26
04a1c4e
to
1c72f10
Compare
aduffeck
force-pushed
the
rescan-spaces
branch
from
October 14, 2022 11:43
5b8382a
to
124a401
Compare
aduffeck
force-pushed
the
rescan-spaces
branch
from
October 14, 2022 13:35
f4c6e2b
to
e19e2ac
Compare
Kudos, SonarCloud Quality Gate passed! |
ownclouders
pushed a commit
that referenced
this pull request
Oct 14, 2022
Author: Andre Duffeck <aduffeck@users.noreply.github.com> Date: Fri Oct 14 17:03:05 2022 +0200 [full-ci] Rescan spaces (#4777) * Increase the timeout for indexing spaces * Allow for making queries that are not constrained to a RootID * Use nano precision for the Mtime * Add a SpaceDebouncer The debouncer can be used to delay operations on spaces until things have settled down to avoid doing the same operation multiple times. * Do not index subtrees until they have changed (i.e. the mtime differs) * Also pass a user to the space debouncer func * Trigger a rescan of the according space when an event is received * Improve wording/logging * Add changelog * Get rid of superfluous GetUserByClaim call * Fix tests * Fix reindexing triggered by shares by using the event's SpaceOwner * Bump reva to pull in the space owner events changes * Fix changelog * Fix linter issues * Fall back to the executant if no owner was received from the event * Bump reva and go-cs3apis * Fix go.sum * Bump core * Adapt expected failures * Tweak debounce settings
73 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR makes the search service trigger a reindex/sync of spaces when an event was received for an item inside that space.
That fixes the problem that mtime and treesize propagation was not reflected in the search index properly.
Fixes #4410