-
Notifications
You must be signed in to change notification settings - Fork 23
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
🍄 Separate trash for the personal and shared drive #189
Merged
MontaGhanmy
merged 25 commits into
main
from
179-story-separate-trash-for-the-personal-and-shared-drive
Oct 6, 2023
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
8dd1dc9
✨init model
shepilov 4f861db
feat: updated document service and personal trash
MontaGhanmy 4623daa
feat: updated item deletion and restore
MontaGhanmy e61edcf
feat: update scope when moving item
MontaGhanmy 66c86a3
ref: refactoring item scope
MontaGhanmy 6f462ca
ref: updated trash size logic
MontaGhanmy 3363e60
feat: trash path switcher ui
MontaGhanmy 6e68088
fix: public link tests
MontaGhanmy 9c8a4cb
ref: document tests
MontaGhanmy 46d9858
fix: e2e tests
MontaGhanmy dc6be2a
fix: cassandra orm
MontaGhanmy b4f0174
feat: updated cassandra query builder
MontaGhanmy cc933e2
feat: updated browse query
MontaGhanmy 9b28b32
fix: object filtering
MontaGhanmy 350c2de
feat: updated query tests
MontaGhanmy 215b0bb
ref: updated orm query builder
MontaGhanmy 85bc0ad
fix: orm test
MontaGhanmy 75c676b
fix: updated query builder
MontaGhanmy 9565442
feat: added is_in_trash index + ref
MontaGhanmy e9354d7
fix: trash ui bugs
MontaGhanmy 0d7bbc0
🌐russian translation
shepilov 7fa08a4
fix: context menu
MontaGhanmy 3ead34a
merge: conflict
MontaGhanmy 539bcd7
feat: restore/restore sub item/fix: submenu
MontaGhanmy 35c055a
fix: bugs with navigation and restore
MontaGhanmy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
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.
Again have you been conducting serious performance benchmarks before conducting this change?
Due to the "log structured merge tree" architecture of the Cassandra storage, allow filtering can cause each request to scan through potentially terabytes of data.
As explained yesterday, I have big doubts that this change is compatible with anything looking to a serious production set up and would advise the team to look for a longer term solution.
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.
Generally yes, but in our case we're restricting the partition and using indexes to query the data. We're also restricting the use of Allow filtering to a very specific scenario. We won't end up scanning through terabytes of data.