Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

No longer disable dynamic dep generation during ACL dependency generation#404

Merged
udpatil merged 1 commit intomainfrom
acl-dynamic-dep
Jan 25, 2024
Merged

No longer disable dynamic dep generation during ACL dependency generation#404
udpatil merged 1 commit intomainfrom
acl-dynamic-dep

Conversation

@udpatil
Copy link
Contributor

@udpatil udpatil commented Jan 25, 2024

Describe your changes and provide context

This removes the behavior of disabling a dynamic dependency generator if it returns something invalid during message dependency generation. This needs to be removed so that the state writes are consistent with synchronous execution, such that message dependency generation is a read-only path. This change won't cause correctness issues, but in the case that there is an incorrect dynamic dependency generator, it will result in wasted compute since it will try it every time instead of disabling it after the first time it was incorrect. This seems like an acceptable compromise in order to have consistency with synchronous execution.

Testing performed to validate your change

Updated unit tests, and tested this behavior on a loadtest cluster

@codecov
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

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

Comparison is base (e12efbc) 54.84% compared to head (d45d10d) 54.81%.
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #404      +/-   ##
==========================================
- Coverage   54.84%   54.81%   -0.03%     
==========================================
  Files         622      622              
  Lines       52187    52203      +16     
==========================================
- Hits        28620    28615       -5     
- Misses      21483    21504      +21     
  Partials     2084     2084              
Files Coverage Δ
x/accesscontrol/keeper/keeper.go 91.94% <ø> (-0.10%) ⬇️
baseapp/abci.go 52.59% <0.00%> (-1.38%) ⬇️

@udpatil udpatil merged commit 5a1afb8 into main Jan 25, 2024
@udpatil udpatil deleted the acl-dynamic-dep branch January 25, 2024 17:28
yzang2019 added a commit that referenced this pull request Jan 31, 2024
* main:
  [SeiDB] Fix concurrent map access (#411)
  No longer disable dynamic dep generation during ACL dependency generation (#404)
  fix(baseapp): Ensure Panic Recovery in Prepare & Process Handlers (#401)
  Revert removing events for cachekv (#396)
  Add migration handler for disabling seqno (#394)
codchen pushed a commit that referenced this pull request Feb 6, 2024
…tion (#404)

## Describe your changes and provide context
This removes the behavior of disabling a dynamic dependency generator if
it returns something invalid during message dependency generation. This
needs to be removed so that the state writes are consistent with
synchronous execution, such that message dependency generation is a
read-only path. This change won't cause correctness issues, but in the
case that there is an incorrect dynamic dependency generator, it will
result in wasted compute since it will try it every time instead of
disabling it after the first time it was incorrect. This seems like an
acceptable compromise in order to have consistency with synchronous
execution.

## Testing performed to validate your change
Updated unit tests, and tested this behavior on a loadtest cluster
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants