-
Notifications
You must be signed in to change notification settings - Fork 90
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
Handle delete markers for objects in ES #1997
Conversation
some python tests are broken for some reason (it has something to do with dependencies) |
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.
Can you provide example of how can I test it manually? Or it's too complicated?
I see "Error resolving revision" on /b/aneesh-ai2-temp/packages/akarve/pkg5
and don't know if it how it supposed to be.
fixed unit tests and did delete_marker filtering in ES instead (or is there some reason why the client needs to do it?). @nl0 please take a look |
hook up to the searchminimal stack and observe:
you can also try uploading and removing files and see that uploading increments total file count and removing (creating a delete marker) does not. the last thing is the display of delete marker versions in search results: try searching the filename that was deleted and you should see 'Delete Marker' in the version stack.
delete markers for packages arent handled in this PR |
…ages' actions" (causes bugs with collapse) This reverts commit cc910ef.
Codecov Report
@@ Coverage Diff @@
## master #1997 +/- ##
==========================================
- Coverage 46.74% 46.71% -0.04%
==========================================
Files 332 332
Lines 16439 16450 +11
Branches 2191 2195 +4
==========================================
Hits 7684 7684
- Misses 7856 7867 +11
Partials 899 899
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
I tried added and deleted files in So, I failed to reproduce |
you should use the |
I understand, I used searchminimal stack and searchminimal bucket |
delete_marker
by default insearch
actiondelete_marker
inimages
andsample
actionscaveat: images and sample files result sets are filtered from delete markers after querying / limiting, so when delete markers are encountered, the sets will be smaller than the respective limits (
NUM_PREVIEW_IMAGES = 100
andNUM_PREVIEW_FILES = 20
)