HDFS-8189. ClientProtocol#createErasureCodingZone API was wrongly annotated as Idempotent (Contributed by Vinayakumar B)
This commit is contained in:
parent
f9eb95c31d
commit
5eb17e5726
|
@ -137,3 +137,6 @@
|
||||||
|
|
||||||
HDFS-8230. Erasure Coding: Ignore DatanodeProtocol#DNA_ERASURE_CODING_RECOVERY
|
HDFS-8230. Erasure Coding: Ignore DatanodeProtocol#DNA_ERASURE_CODING_RECOVERY
|
||||||
commands from standbynode if any (vinayakumarb)
|
commands from standbynode if any (vinayakumarb)
|
||||||
|
|
||||||
|
HDFS-8189. ClientProtocol#createErasureCodingZone API was wrongly annotated
|
||||||
|
as Idempotent (vinayakumarb)
|
|
@ -1363,14 +1363,6 @@ public interface ClientProtocol {
|
||||||
public BatchedEntries<EncryptionZone> listEncryptionZones(
|
public BatchedEntries<EncryptionZone> listEncryptionZones(
|
||||||
long prevId) throws IOException;
|
long prevId) throws IOException;
|
||||||
|
|
||||||
/**
|
|
||||||
* Create an erasure coding zone with specified schema, if any, otherwise
|
|
||||||
* default
|
|
||||||
*/
|
|
||||||
@Idempotent
|
|
||||||
public void createErasureCodingZone(String src, ECSchema schema)
|
|
||||||
throws IOException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set xattr of a file or directory.
|
* Set xattr of a file or directory.
|
||||||
* The name must be prefixed with the namespace followed by ".". For example,
|
* The name must be prefixed with the namespace followed by ".". For example,
|
||||||
|
@ -1466,6 +1458,14 @@ public interface ClientProtocol {
|
||||||
@Idempotent
|
@Idempotent
|
||||||
public EventBatchList getEditsFromTxid(long txid) throws IOException;
|
public EventBatchList getEditsFromTxid(long txid) throws IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an erasure coding zone with specified schema, if any, otherwise
|
||||||
|
* default
|
||||||
|
*/
|
||||||
|
@AtMostOnce
|
||||||
|
public void createErasureCodingZone(String src, ECSchema schema)
|
||||||
|
throws IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the ECInfo for the specified file/directory
|
* Gets the ECInfo for the specified file/directory
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue