This is an automated email from the ASF dual-hosted git repository.
yashmayya 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 626336899a Don't use static variables for per table metadata in
ReplicaGroupSegmentAssignmentStrategy (#15734)
626336899a is described below
commit 626336899a5688dad0f9f133ebf9ec997010c66b
Author: Yash Mayya <[email protected]>
AuthorDate: Wed May 7 17:27:10 2025 +0100
Don't use static variables for per table metadata in
ReplicaGroupSegmentAssignmentStrategy (#15734)
---
.../segment/strategy/ReplicaGroupSegmentAssignmentStrategy.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/assignment/segment/strategy/ReplicaGroupSegmentAssignmentStrategy.java
b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/assignment/segment/strategy/ReplicaGroupSegmentAssignmentStrategy.java
index 3ff0807220..b20a9dc4f6 100644
---
a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/assignment/segment/strategy/ReplicaGroupSegmentAssignmentStrategy.java
+++
b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/assignment/segment/strategy/ReplicaGroupSegmentAssignmentStrategy.java
@@ -40,9 +40,9 @@ import org.slf4j.LoggerFactory;
class ReplicaGroupSegmentAssignmentStrategy implements
SegmentAssignmentStrategy {
private static final Logger LOGGER =
LoggerFactory.getLogger(ReplicaGroupSegmentAssignmentStrategy.class);
- private static HelixManager _helixManager;
- private static String _tableName;
- private static String _partitionColumn;
+ private HelixManager _helixManager;
+ private String _tableName;
+ private String _partitionColumn;
private int _replication;
private TableConfig _tableConfig;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]