# svn commit: r889780 - in /hadoop/zookeeper/trunk: CHANGES.txt src/c/include/zookeeper.h src/java/main/org/apache/zookeeper/ZooKeeper.java

Author: breed
Date: Fri Dec 11 19:38:47 2009
New Revision: 889780

URL: http://svn.apache.org/viewvc?rev=889780&view=rev
Log:
ZOOKEEPER-615. wrong javadoc for create with a sequence flag

Modified:

URL:
==============================================================================
+++ hadoop/zookeeper/trunk/CHANGES.txt Fri Dec 11 19:38:47 2009
@@ -178,6 +178,8 @@

breed)

+  ZOOKEEPER-615. wrong javadoc for create with a sequence flag (mahadev via
breed)
+
NEW FEATURES:
ZOOKEEPER-539. generate eclipse project via ant target. (phunt via mahadev)

URL:
==============================================================================
+++ hadoop/zookeeper/trunk/src/c/include/zookeeper.h Fri Dec 11 19:38:47 2009
@@ -580,7 +580,8 @@
* it does not already exists. The Create Flags affect the creation of nodes.
* If ZOO_EPHEMERAL flag is set, the node will automatically get removed if the
* client session goes away. If the ZOO_SEQUENCE flag is set, a unique
- * monotonically increasing sequence number is appended to the path name.
+ * monotonically increasing sequence number is appended to the path name. The
+ * sequence number is always fixed length of 10 digits, 0 padded.
*
* \param zh the zookeeper handle obtained by a call to \ref zookeeper_init
* \param path The name of the node. Expressed as a file name with slashes

Modified:
URL:
==============================================================================
(original)
Fri Dec 11 19:38:47 2009
@@ -555,7 +555,8 @@
* <p>
* The flags argument can also specify to create a sequential node. The
* actual path name of a sequential node will be the given path plus a
-     * suffix "_i" where i is the current sequential number of the node. Once
+     * suffix "i" where i is the current sequential number of the node. The
sequence
+     * number is always fixed length of 10 digits, 0 padded. Once
* such a node is created, the sequential number will be incremented by
one.
* <p>
* If a node with the same actual path already exists in the ZooKeeper, a