GitHub user sutambe opened a pull request: https://github.com/apache/kafka/pull/1664
KAFKA-1911: Async delete topic The last patch submitted by @MayureshGharat (back in Dec 15) has been rebased to the latest trunk. I took care of a couple of test failures (MetricsTest) along the way. @jjkoshy , @granders , @avianey , you may be interested in this PR. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sutambe/kafka async-delete-topic Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1664.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 #1664 ---- commit dbc54e6bcd5001c478028f7032f9ff0a59f53f89 Author: Mayuresh Gharat <mgha...@mgharat-ld1.linkedin.biz> Date: 2015-12-07T22:01:22Z Made Delete topic on the brokers Async Signed-off-by: Sumant Tambe <suta...@linkedin.com> commit 5bfb31b070502ae06a65ec9cb5fcd4c8d6693278 Author: Mayuresh Gharat <mgha...@mgharat-ld1.linkedin.biz> Date: 2015-12-17T23:13:07Z Change the file pointers for log and index to point to the renamed directory Signed-off-by: Sumant Tambe <suta...@linkedin.com> commit 692f8768f0903a60274f317f6a238b5a2c621c1f Author: Mayuresh Gharat <mgha...@mgharat-ld1.linkedin.biz> Date: 2015-12-21T23:54:15Z Added a check to not recoverLogs for directories marked for delete. This is to speedup startup process. Also added check that Log directories ending with .delete be added to a separate set of logs that the are to be deleted asynchronously. Signed-off-by: Sumant Tambe <suta...@linkedin.com> commit b6920ffaef5d086a691eba1ac4a66d429d1c5fcf Author: Mayuresh Gharat <mgha...@mgharat-ld1.linkedin.biz> Date: 2015-12-22T00:00:50Z Removed a bug from earlier commit Signed-off-by: Sumant Tambe <suta...@linkedin.com> commit 161cb8c669298744d60eec75ca5072d3b0f0045f Author: Mayuresh Gharat <mgha...@mgharat-ld1.linkedin.biz> Date: 2015-12-22T00:03:44Z Removed the extra ';' Signed-off-by: Sumant Tambe <suta...@linkedin.com> commit 161c14c5486cbe1fc0411fe6fc5745c78e36bedc Author: MayureshGharat <gharatmayures...@gmail.com> Date: 2016-03-10T21:25:38Z Addressed Joel's comments on the patch Signed-off-by: Sumant Tambe <suta...@linkedin.com> commit 859dbb7a1d3f2b7b9ddc5d8b9edc128b1903f28c Author: MayureshGharat <gharatmayures...@gmail.com> Date: 2016-04-01T20:26:11Z Addressed the NPE issue with race condition and also issues related to loading segments on a crash Signed-off-by: Sumant Tambe <suta...@linkedin.com> commit b93328cd446d9e0c753a966217b8b58fc6150ec6 Author: Sumant Tambe <suta...@linkedin.com> Date: 2016-07-26T00:11:25Z Async log deletion rebase and successful testing ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---