Skip to content

Commit

Permalink
fix(bridge_query_planner): change log level for mismatches (#5450)
Browse files Browse the repository at this point in the history
When using `experimental_query_planner_mode:both`, emit mismatch metrics as debug rather than warn as there are still a fair few mismatches.
  • Loading branch information
lrlna authored Jun 17, 2024
1 parent 3fc39ab commit 0f388fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo-router/src/query_planner/dual_query_planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl BothModeComparisonJob {
if is_matched {
tracing::debug!("JS and Rust query plans match{operation_desc}! 🎉");
} else {
tracing::warn!("JS v.s. Rust query plan mismatch{operation_desc}");
tracing::debug!("JS v.s. Rust query plan mismatch{operation_desc}");
if let Some(formatted) = &js_plan.formatted_query_plan {
tracing::debug!(
"Diff of formatted plans:\n{}",
Expand Down

0 comments on commit 0f388fc

Please sign in to comment.