You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "924060929 (via GitHub)" <gi...@apache.org> on 2026/05/26 04:22:18 UTC

[PR] [fix](cache) Follower FE sql cache not invalidated on table metadata replay (#63612) [doris]

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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](cache) Follower FE sql cache not invalidated on table metadata replay (#63612) [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #63657:
URL: https://github.com/apache/doris/pull/63657


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](cache) Follower FE sql cache not invalidated on table metadata replay (#63612) [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63657:
URL: https://github.com/apache/doris/pull/63657#issuecomment-4539994783

   
   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
   
   Please clearly describe your PR:
   1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
   2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
   3. What features were added. Why was this function added?
   4. Which code was refactored and why was this part of the code refactored?
   5. Which functions were optimized and what is the difference before and after the optimization?
       


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](cache) Follower FE sql cache not invalidated on table metadata replay (#63612) [doris]

Posted by "924060929 (via GitHub)" <gi...@apache.org>.
924060929 commented on PR #63657:
URL: https://github.com/apache/doris/pull/63657#issuecomment-4542594695

   run buildall


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org