924060929 opened a new pull request, #63657:
URL: https://github.com/apache/doris/pull/63657

   ## Proposed changes
   
   Cherry-pick of #63612 to branch-4.0.
   
   Follower FEs replay metadata changes (e.g. `ALTER TABLE ... RENAME COLUMN`) 
but
   never invalidated the sql cache, so stale entries survived and queries 
returned
   wrong results. Since `enable_sql_cache` defaults to `true` since 4.0, every
   multi-FE deployment is affected.
   
   ### Additional change for 4.0/4.1
   
   Added `enable_write_op_table_meta_change` FE config (default **false**) to 
gate
   the `OP_TABLE_META_CHANGE` edit log writing:
   - `false` (default): master does local cache invalidation only, does NOT
     broadcast to followers via journal — zero risk, same behavior as before
   - `true`: master broadcasts table metadata change signal to all followers,
     enabling follower-side cache invalidation
   
   This allows gradual rollout: deploy the code first, then enable the config
   after verification.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to