Skip to content

Commit

Permalink
add S3 storageType to align with java
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyLow committed Dec 27, 2024
1 parent 9f85db4 commit c75cad7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/celeborn/protocol/PartitionLocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ struct StorageInfo {
SSD = 2,
HDFS = 3,
OSS = 4,
S3 = 5,
};

static const int MEMORY_MASK = 0b1;
static const int LOCAL_DISK_MASK = 0b10;
static const int HDFS_MASK = 0b100;
static const int OSS_MASK = 0b1000;
static const int S3_MASK = 0b10000;
static const int ALL_TYPES_AVAILABLE_MASK = 0;

Type type{MEMORY};
Expand Down

0 comments on commit c75cad7

Please # to comment.