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 - missing delay visibility feature triggering cache flush #32974

Merged

Conversation

Lichtso
Copy link
Contributor

@Lichtso Lichtso commented Aug 24, 2023

Problem

The feature delay_visibility_of_program_deployment should also trigger a flush of the LoadedPrograms cache.

Summary of Changes

Adds delay_visibility_of_program_deployment to FEATURES_AFFECTING_RBPF in Bank::apply_builtin_program_feature_transitions().

@Lichtso Lichtso added bug Something isn't working runtime Issues related to runtime, BPF, and LLVM v1.16 PRs that should be backported to v1.16 labels Aug 24, 2023
@Lichtso Lichtso requested review from ryoqun and pgarg66 August 24, 2023 13:24
@Lichtso Lichtso self-assigned this Aug 24, 2023
@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Merging #32974 (c763b15) into master (0122ea4) will increase coverage by 0.0%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #32974   +/-   ##
=======================================
  Coverage    82.0%    82.0%           
=======================================
  Files         784      784           
  Lines      212650   212650           
=======================================
+ Hits       174379   174385    +6     
+ Misses      38271    38265    -6     

@Lichtso Lichtso merged commit 025b952 into master Aug 24, 2023
18 checks passed
@Lichtso Lichtso deleted the fix/missing_delay_visibility_feature_triggering_cache_flush branch August 24, 2023 14:41
mergify bot pushed a commit that referenced this pull request Aug 24, 2023
Adds delay_visibility_of_program_deployment to FEATURES_AFFECTING_RBPF.

(cherry picked from commit 025b952)

# Conflicts:
#	runtime/src/bank.rs
Lichtso added a commit that referenced this pull request Aug 24, 2023
Adds delay_visibility_of_program_deployment to FEATURES_AFFECTING_RBPF.

(cherry picked from commit 025b952)
Lichtso added a commit that referenced this pull request Aug 24, 2023
…(backport of #32974) (#32978)

Fix - missing delay visibility feature triggering cache flush (#32974)

Adds delay_visibility_of_program_deployment to FEATURES_AFFECTING_RBPF.

(cherry picked from commit 025b952)

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working runtime Issues related to runtime, BPF, and LLVM v1.16 PRs that should be backported to v1.16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants