-
Notifications
You must be signed in to change notification settings - Fork 40
services/object: use SearchV2 for search objects #3312
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
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.
It still does too much to me. This affects Search RPC operation, while the intention was to convert internal SN users to proper SearchV2. We'll need to do this anyway once we're to drop the old Search, so better isolate SN calls (not related to Search processing) and deal only with them.
6f5d97c
to
79eb637
Compare
@roman-khimov Is that what you need? Am I in the right direction? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3312 +/- ##
==========================================
- Coverage 21.19% 21.15% -0.04%
==========================================
Files 719 719
Lines 53190 53189 -1
==========================================
- Hits 11272 11253 -19
- Misses 41126 41143 +17
- Partials 792 793 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
79eb637
to
2379117
Compare
@@ -314,6 +317,7 @@ func initObjectService(c *cfg) { | |||
keys: keyStorage, | |||
} | |||
server := objectService.New(objSvc, mNumber, fsChain, storage, c.metaService, c.shared.basics.key.PrivateKey, c.metricsCollector, aclChecker, aclSvc, coreConstructor) | |||
os.server = server |
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.
Seems racy, os
is already given to the tombstone.NewVerifier()
. Not sure there are any threads involved though, maybe not a problem.
577d37c
to
c0b999e
Compare
c0b999e
to
09d1b98
Compare
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.
Changelog, please.
09d1b98
to
1ac26db
Compare
Closes #3143. Signed-off-by: Andrey Butusov <[email protected]>
Closes #3143.
I hope I understood correctly what exactly needs to be changed.