Skip to content

Commit daa0127

Browse files
committed
[fix](compile) Fix enterprise compile due to code diff
1 parent 79729b0 commit daa0127

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

fe/fe-core/src/main/java/org/apache/doris/encryption/KeyManagerStore.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ public class KeyManagerStore implements Writable {
4343

4444
private ReentrantReadWriteLock lock = new ReentrantReadWriteLock(true);
4545

46-
private void readLock() {
46+
public void readLock() {
4747
lock.readLock().lock();
4848
}
4949

50-
private void readUnlock() {
50+
public void readUnlock() {
5151
lock.readLock().unlock();
5252
}
5353

54-
private void writeLock() {
54+
public void writeLock() {
5555
lock.writeLock().lock();
5656
}
5757

58-
private void writeUnlock() {
58+
public void writeUnlock() {
5959
lock.writeLock().unlock();
6060
}
6161

fe/fe-core/src/main/java/org/apache/doris/persist/KeyOperationInfo.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535

3636
public class KeyOperationInfo implements Writable {
3737
public enum KeyOPType {
38-
SET_ROOT_KEY;
38+
SET_ROOT_KEY,
39+
ROTATE_ROOT_KEY,
40+
ROTATE_MASTER_KEYS
3941
}
4042

4143
@Setter

0 commit comments

Comments
 (0)