zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3027) Accidently removed public API of FileTxnLog.setPreallocSize()
Date Fri, 27 Apr 2018 18:58:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456915#comment-16456915
] 

Hudson commented on ZOOKEEPER-3027:
-----------------------------------

FAILURE: Integrated in Jenkins build ZooKeeper-trunk #2 (See [https://builds.apache.org/job/ZooKeeper-trunk/2/])
ZOOKEEPER-3027: Accidently removed public API of (phunt: rev 5c96887643b2465caabbfd4763c7ebb3cd1aa024)
* (edit) src/java/main/org/apache/zookeeper/server/persistence/FileTxnLog.java
* (edit) src/java/test/org/apache/zookeeper/server/persistence/FileTxnLogTest.java
* (edit) src/java/main/org/apache/zookeeper/server/persistence/FilePadding.java


> Accidently removed public API of FileTxnLog.setPreallocSize()
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3027
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3027
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.4, 3.6.0, 3.4.13
>            Reporter: Andor Molnar
>            Assignee: Andor Molnar
>            Priority: Major
>             Fix For: 3.5.4, 3.6.0, 3.4.13
>
>
> In my latest commit regarding TxnLogToolkit there's a refactor to outsource file padding
logic from FileTxnLog to a separate class:
> [https://github.com/apache/zookeeper/commit/126fb0f22d701cad58bf3123bf7d8f2219e60387#diff-89717124564925d61d29dd817bcdd915]
> Unfortunately public static method setPreallocSize(int) has also been moved to the new
class, but it's being actively used by hadoop-common project too:
> [https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/ClientBaseWithFixes.java#L384]
> I'd like to submit a patch to revert the deleted method which is going to call the new
one, but will keep backward compatibility with Hadoop.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message