[
https://issues.apache.org/jira/browse/KAFKA-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097841#comment-15097841
]
ASF GitHub Bot commented on KAFKA-3105:
---------------------------------------
GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/771
KAFKA-3105: Use `Utils.atomicMoveWithFallback` instead of `File.rename`
It behaves better on Windows and provides more useful error messages.
Also:
* Minor inconsistency fix in `kafka.server.OffsetCheckpoint`.
* Remove delete from `streams.state.OffsetCheckpoint` constructor (similar
to the change in `kafka.server.OffsetCheckpoint` in
https://github.com/apache/kafka/commit/836cb1963330a9e342379899e0fe52b72347736e#diff-2503b32f29cbbd61ed8316f127829455L29).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka
kafka-3105-use-atomic-move-with-fallback-instead-of-rename
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/771.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #771
----
commit e4c94793bd0bd82baf9c3be61046b719182878bf
Author: Ismael Juma <[email protected]>
Date: 2016-01-14T08:45:49Z
Use `Utils.atomicMoveWithFallback` instead of `File.rename`
It behaves better on Windows and provides more useful error
messages.
commit e9894b9691f8d865b8c1a3afe989ae17ccbf15fe
Author: Ismael Juma <[email protected]>
Date: 2016-01-14T08:47:08Z
Minor inconsistency fix in `OffsetCheckpoint.malformedLineException`
commit 29372fa2d3fbe4cfb5b4b88184539e5c9ac405b2
Author: Ismael Juma <[email protected]>
Date: 2016-01-14T08:48:44Z
Remove delete from `streams.state.OffsetCheckpoint` constructor
This is similar to the change in kafka.server.OffsetCheckpoint.
----
> Use `Utils.atomicMoveWithFallback` instead of `File.rename`
> -----------------------------------------------------------
>
> Key: KAFKA-3105
> URL: https://issues.apache.org/jira/browse/KAFKA-3105
> Project: Kafka
> Issue Type: Improvement
> Reporter: Ismael Juma
> Assignee: Ismael Juma
> Fix For: 0.9.1.0
>
>
> It behaves better on Windows and provides more useful error messages.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)