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

fix commit lock #1365

Merged
merged 1 commit into from
Jan 9, 2024
Merged

fix commit lock #1365

merged 1 commit into from
Jan 9, 2024

Conversation

Hitenjain14
Copy link
Member

Changes

Fixes

Tests

Tasks to complete before merging PR:

  • Ensure system tests are passing. If not Run them manually to check for any regressions 📋
  • Do any new system tests need added to test this change? do any existing system tests need updated? If so create a PR at 0chain/system_test
  • Merge your system tests PR to master AFTER merging this PR

Associated PRs (Link as appropriate):

  • 0chain:
  • gosdk:
  • system_test:
  • zboxcli:
  • zwalletcli:
  • Other: ...

@codecov-commenter
Copy link

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (d71fc2b) 23.63% compared to head (db02aee) 23.63%.

Files Patch % Lines
...o/0chain.net/blobbercore/handler/handler_common.go 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##           staging    #1365   +/-   ##
========================================
  Coverage    23.63%   23.63%           
========================================
  Files           87       87           
  Lines        10099    10098    -1     
========================================
  Hits          2387     2387           
+ Misses        7416     7415    -1     
  Partials       296      296           
Flag Coverage Δ
Unit-Tests 23.63% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@dabasov dabasov left a comment

Choose a reason for hiding this comment

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

lgtm

@dabasov dabasov merged commit 476cb4c into staging Jan 9, 2024
5 of 7 checks passed
@dabasov dabasov deleted the fix/commit-lock branch January 9, 2024 20:24
dabasov pushed a commit that referenced this pull request Jan 21, 2024
* check prev root and add constraint (#1356)

* Hotfix update allocation worker

* Fix lint

* Fix

* Fixed updateAllocationInDB check as well

* check prev root and add constraint

* check if alloc is updated

* rmv check

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>

* add index for connection id (#1358)

* Fix chall cancel commit (#1359)

* fix challenge cancel commit

* change conn lifetime

* Fixed updateAllocationInDB check as well (#1357)

* fix alloc lock for commit (#1363)

* Fix get round (#1361)

* check prev root and add constraint (#1356)

* Hotfix update allocation worker

* Fix lint

* Fix

* Fixed updateAllocationInDB check as well

* check prev root and add constraint

* check if alloc is updated

* rmv check

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>

* add index for connection id (#1358)

* get round on start

* fix hook

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>

* fix alloc lock for commit

* cleanup

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>

* fix max objects in dir

* fix ut

* fix commit lock (#1365)

---------

Co-authored-by: Jayash Satolia <jayash.satolia.min19@iitbhu.ac.in>
Co-authored-by: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com>
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.

3 participants