From 199bf13e062f40bc0ee8ecd6d697844f7df65549 Mon Sep 17 00:00:00 2001 From: lizhimins <707364882@qq.com> Date: Sun, 21 May 2023 17:58:00 +0800 Subject: [PATCH] [ISSUE #6633] [RIP-65] Remove guarded by lock annotation --- .../apache/rocketmq/tieredstore/provider/TieredFileSegment.java | 1 - 1 file changed, 1 deletion(-) diff --git a/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredFileSegment.java b/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredFileSegment.java index c72dcde253f..8045261c461 100644 --- a/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredFileSegment.java +++ b/tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredFileSegment.java @@ -212,7 +212,6 @@ private void sendBackBuffer(TieredFileSegmentInputStream inputStream) { } } - @GuardedBy("bufferLock") @SuppressWarnings("NonAtomicOperationOnVolatileField") public AppendResult append(ByteBuffer byteBuf, long timeStamp) { if (closed) {