Skip to content

Update LogManager.scala#19

Closed
glorage wants to merge 1 commit intoapache:0.8.1from
glorage:0.8.1
Closed

Update LogManager.scala#19
glorage wants to merge 1 commit intoapache:0.8.1from
glorage:0.8.1

Conversation

@glorage
Copy link
Copy Markdown

@glorage glorage commented Mar 11, 2014

Make sure newer segments would not be deleted

Make sure newer segments would not be deleted
@jkreps
Copy link
Copy Markdown
Contributor

jkreps commented Mar 11, 2014

I think this shouldn't happen because we are using Log.deleteOldSegments which should delete from old to new until there is a segment which doesn't need deleting when it stops. In other words that pre-condition is enforced in the application of the method. Are you able to reproduce a problem?

@glorage glorage closed this Mar 11, 2014
@glorage glorage deleted the 0.8.1 branch March 11, 2014 13:36
ymatsuda referenced this pull request in confluentinc/kafka Aug 5, 2015
do not clone kstream context
ymatsuda added a commit to ymatsuda/kafka that referenced this pull request Aug 28, 2015
Parth-Brahmbhatt added a commit to Parth-Brahmbhatt/kafka that referenced this pull request Mar 7, 2016
resetius pushed a commit to resetius/kafka that referenced this pull request Jun 7, 2016
[LOGBROKER-231] Fix key id
jamesrgrinter pushed a commit to jamesrgrinter/kafka that referenced this pull request Feb 2, 2018
bug 26111 Use negativeoffset instead of zerooffset flag from 6.0
ying-zheng added a commit to ying-zheng/kafka that referenced this pull request Oct 31, 2019
efeg pushed a commit to efeg/kafka that referenced this pull request Jan 29, 2020
The following bugs are fixed:
1. The snapshot window time order was inconsistent in Load, which causes unit test failure.
2. The calculation of number of valid windows in `LoadMonitor.state()` was inconsistent to what we have in MetricSampleAggregator.
mjsax pushed a commit to mjsax/kafka that referenced this pull request Jul 21, 2024
mumrah referenced this pull request in mumrah/kafka Aug 14, 2024
### What
* implemented logic to create share update snapshots.
* fixed bug in share snapshot creation where entire state was not being saved.
* use timeline hashmaps for leaderEpoch and snapshot update count.
* refactored read and write state kafkaapis to be async
* updated tests

### Why
* Share snapshot update is an optimization where we only save the incremental state as a separate record in the internal topic, instead of the entire soft state

### Testing
* updated existing tests.
patrik-marton pushed a commit to patrik-marton/kafka that referenced this pull request Mar 11, 2025
CSMDS-200: ART trigger on PR (apache#27)

CSMDS-141: CSM CI build for kafka (apache#19)
fvaleri pushed a commit to fvaleri/kafka that referenced this pull request Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants