iotex-core icon indicating copy to clipboard operation
iotex-core copied to clipboard

[actpool] remove zombie txs in allActions

Open Liuhaai opened this issue 1 year ago • 2 comments

Description

There are zombie transactions left in ap.allActions and ap.accountDesActs, but couldn't be found in queueWorker image

Fixes #(issue)

Type of change

Please delete options that are not relevant.

  • [] Bug fix (non-breaking change which fixes an issue)
  • [] New feature (non-breaking change which adds functionality)
  • [] Code refactor or improvement
  • [] Breaking change (fix or feature that would cause a new or changed behavior of existing functionality)
  • [] This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • [] make test
  • [] fullsync
  • [] Other test (please specify)

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • [] My code follows the style guidelines of this project
  • [] I have performed a self-review of my code
  • [] I have commented my code, particularly in hard-to-understand areas
  • [] I have made corresponding changes to the documentation
  • [] My changes generate no new warnings
  • [] I have added tests that prove my fix is effective or that my feature works
  • [] New and existing unit tests pass locally with my changes
  • [] Any dependent changes have been merged and published in downstream modules

Liuhaai avatar Mar 22 '24 22:03 Liuhaai

Quality Gate Failed Quality Gate failed

Failed conditions
15.9% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Mar 22 '24 22:03 sonarqubecloud[bot]

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 76.76%. Comparing base (e1f0636) to head (c124129). Report is 213 commits behind head on master.

Files Patch % Lines
actpool/queueworker.go 0.00% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4201      +/-   ##
==========================================
+ Coverage   75.38%   76.76%   +1.38%     
==========================================
  Files         303      340      +37     
  Lines       25923    29262    +3339     
==========================================
+ Hits        19541    22462    +2921     
- Misses       5360     5693     +333     
- Partials     1022     1107      +85     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Mar 22 '24 23:03 codecov[bot]