You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ja...@apache.org on 2023/06/30 00:07:59 UTC
[pinot] branch master updated: Fix a typo in snapshot lock (#11007)
This is an automated email from the ASF dual-hosted git repository.
jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new db8793f780 Fix a typo in snapshot lock (#11007)
db8793f780 is described below
commit db8793f780c72e3bbbd66450ebe53eb5cdcc6ef9
Author: Xiaotian (Jackie) Jiang <17...@users.noreply.github.com>
AuthorDate: Thu Jun 29 17:07:53 2023 -0700
Fix a typo in snapshot lock (#11007)
---
.../pinot/segment/local/upsert/BasePartitionUpsertMetadataManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/BasePartitionUpsertMetadataManager.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/BasePartitionUpsertMetadataManager.java
index 89ae1ba534..f6eef81335 100644
--- a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/BasePartitionUpsertMetadataManager.java
+++ b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/BasePartitionUpsertMetadataManager.java
@@ -244,7 +244,7 @@ public abstract class BasePartitionUpsertMetadataManager implements PartitionUps
} finally {
finishOperation();
if (_enableSnapshot) {
- _snapshotLock.readLock().lock();
+ _snapshotLock.readLock().unlock();
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org