You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "loserwang1024 (via GitHub)" <gi...@apache.org> on 2026/02/28 09:42:58 UTC

[I] KV tablet should not produce log via PRODUCE_LOG [fluss]

loserwang1024 opened a new issue, #2750:
URL: https://github.com/apache/fluss/issues/2750

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar.
   
   
   ### Fluss version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   Currently, when PRODUCE_LOG, we don't check whether a table is log table or pk table.
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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: issues-unsubscribe@fluss.apache.org.apache.org

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


Re: [I] KV tablet should not produce log via PRODUCE_LOG [fluss]

Posted by "loserwang1024 (via GitHub)" <gi...@apache.org>.
loserwang1024 commented on issue #2750:
URL: https://github.com/apache/fluss/issues/2750#issuecomment-3977114157

   @caozhen1937 just do it


-- 
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: issues-unsubscribe@fluss.apache.org

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


Re: [I] KV tablet should not produce log via PRODUCE_LOG [fluss]

Posted by "caozhen1937 (via GitHub)" <gi...@apache.org>.
caozhen1937 commented on issue #2750:
URL: https://github.com/apache/fluss/issues/2750#issuecomment-3976777171

   @loserwang1024 Hi,Can I take over this bug? 
   
   Approach: 
   1. The server side performs strict validation, checking `hasPrimaryKey` in `TabletService.produceLog` and `TabletService.putKv`. 
   2. The ReplicaManager provides fallback validation. Inside `ReplicaManager.appendToLocalLog`, it retrieves `Replica.getTableInfo()` by bucket. If it is a PK table, it directly returns an error result without writing it.


-- 
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: issues-unsubscribe@fluss.apache.org

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