Skip to content
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

Support --timeout in neofs-cli #1837

Merged
merged 4 commits into from
Oct 7, 2022
Merged

Conversation

fyrchik
Copy link
Contributor

@fyrchik fyrchik commented Oct 5, 2022

Close #1826.

Also, improve object.Search service.

@codecov
Copy link

codecov bot commented Oct 5, 2022

Codecov Report

Merging #1837 (02a2808) into master (01ddb3f) will increase coverage by 0.00%.
The diff coverage is 55.55%.

@@           Coverage Diff           @@
##           master    #1837   +/-   ##
=======================================
  Coverage   31.22%   31.23%           
=======================================
  Files         375      374    -1     
  Lines       26440    26438    -2     
=======================================
  Hits         8257     8257           
+ Misses      17496    17494    -2     
  Partials      687      687           
Impacted Files Coverage Δ
pkg/services/object/search/exec.go 61.90% <ø> (+1.63%) ⬆️
pkg/services/object/search/service.go 0.00% <0.00%> (ø)
pkg/services/object/search/container.go 68.65% <53.12%> (-7.44%) ⬇️
pkg/services/object/search/util.go 17.91% <100.00%> (-1.21%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

cthulhu-rider
cthulhu-rider previously approved these changes Oct 5, 2022
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
Allow to specify it everywhere `--rpc-endpoint` flag is present.

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
Avoid encoding object ID to string.

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
@fyrchik
Copy link
Contributor Author

fyrchik commented Oct 5, 2022

Rebased on master.


mtx.Lock()
exec.writeIDList(ids)
mtx.Unlock()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we defer this unlock?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could but it is simple enough like this, writeIDList is not expected to panic.

@fyrchik fyrchik merged commit 7356ee9 into nspcc-dev:master Oct 7, 2022
aprasolova pushed a commit to aprasolova/neofs-node that referenced this pull request Oct 19, 2022
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
aprasolova pushed a commit to aprasolova/neofs-node that referenced this pull request Oct 19, 2022
Avoid encoding object ID to string.

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some nodes don't return an objects list after the network of 4 nodes is splitted into 2x2
3 participants