Glen Geng created HDDS-4860:
-------------------------------
Summary: Reopen replication/wait.robot added by HDDS-4834
Key: HDDS-4860
URL: https://issues.apache.org/jira/browse/HDDS-4860
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Glen Geng
For now upon HDDS-2823, the containerID is generated from UnqiueId,
{code:java}
private ContainerInfo allocateContainer(final Pipeline pipeline,
final String owner)
throws IOException {
// TODO: Replace this with Distributed unique id generator.
final long uniqueId = UniqueId.next();
Preconditions.checkState(uniqueId > 0,
"Cannot allocate container, negative container id" +
" generated. %s.", uniqueId);
final ContainerID containerID = ContainerID.valueOf(uniqueId);
{code}
But in master, the first created container always has the ID #1.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]