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: Various Bugs found on 0.6.0-rc1 deployment. #817

Merged
merged 5 commits into from
Mar 11, 2025
Merged

Conversation

AlfredoG87
Copy link
Contributor

Reviewer Notes

At the beginning of the sprint we decided to include a first/simple mechanism to recover from restarts, so that we can keep re-using metrics, logs and data from the next deployment forward. This meant adding a Internal Memory feature and Helm PVCs and its corresponding mappings and values so that both archive and live data were pesisted.

However, 3 bugs were found with the first rc version:

  1. Lost+Found directory present on created PVC
  2. PVC For Live and Archive Permissions
  3. Issue when restarted the BN

Fixes #815
Fixes #816
Fixes #814

@AlfredoG87 AlfredoG87 added the Bug A error that causes the feature to behave differently than what was expected based on design docs label Mar 10, 2025
@AlfredoG87 AlfredoG87 added this to the 0.6.0 milestone Mar 10, 2025
@AlfredoG87 AlfredoG87 self-assigned this Mar 10, 2025
@AlfredoG87 AlfredoG87 marked this pull request as ready for review March 10, 2025 22:01
@AlfredoG87 AlfredoG87 requested review from a team as code owners March 10, 2025 22:02
jsync-swirlds
jsync-swirlds previously approved these changes Mar 10, 2025
… to avoid using the root of the PVC.

- Update of ownership and permissions for both the live-data and archive-data sub-paths inside their respective PVCs
- When Mounting the values to the path of the BlockNode Server, using the corresponding created sub-path on each PVC.

Signed-off-by: Alfredo Gutierrez Grajeda <[email protected]>
…to Optional.ofNullable, so it returns Optional.Empty when blockHash is Null.

Signed-off-by: Alfredo Gutierrez Grajeda <[email protected]>
Signed-off-by: Alfredo Gutierrez Grajeda <[email protected]>
Signed-off-by: Alfredo Gutierrez Grajeda <[email protected]>
@AlfredoG87 AlfredoG87 merged commit 0a49715 into main Mar 11, 2025
17 checks passed
@AlfredoG87 AlfredoG87 deleted the 060rc1-bug-fixes branch March 11, 2025 16:38
Copy link

codecov bot commented Mar 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@@             Coverage Diff              @@
##               main     #817      +/-   ##
============================================
+ Coverage     89.12%   89.19%   +0.06%     
- Complexity      710      712       +2     
============================================
  Files           130      130              
  Lines          3045     3045              
  Branches        219      219              
============================================
+ Hits           2714     2716       +2     
+ Misses          265      264       -1     
+ Partials         66       65       -1     
Files with missing lines Coverage Δ Complexity Δ
...ock/server/producer/ProducerBlockItemObserver.java 92.85% <100.00%> (+1.58%) 29.00 <0.00> (+2.00)
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A error that causes the feature to behave differently than what was expected based on design docs
Projects
None yet
3 participants