vcrfxia opened a new pull request, #13364:
URL: https://github.com/apache/kafka/pull/13364

   The RocksDB-based implementation of versioned stores introduced in 
https://github.com/apache/kafka/pull/13188 consists of a "latest value store" 
and separate (logical) "segments stores." A single put operation may need to 
modify multiple (two) segments, or both a segment and the latest value store, 
which opens the possibility to store inconsistencies if the first write 
succeeds while the later one fails. When this happens, Streams will error out, 
but the store still needs to be able to recover upon restart. This PR adds the 
necessary repair logic into RocksDBVersionedStore to effectively undo the 
earlier failed write when a store inconsistency is encountered.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to