You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ya...@apache.org on 2026/04/22 17:07:09 UTC
(pinot) branch master updated: Fix comment typos: succesfully→successfully, sould→should, dont→don't (#18291)
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 78e38eb1c20 Fix comment typos: succesfully→successfully, sould→should, dont→don't (#18291)
78e38eb1c20 is described below
commit 78e38eb1c20b1e27d3ccfeebceafa17894e8da13
Author: RoomWithOutRoof <16...@users.noreply.github.com>
AuthorDate: Thu Apr 23 01:07:03 2026 +0800
Fix comment typos: succesfully→successfully, sould→should, dont→don't (#18291)
---
.../pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java | 2 +-
.../pinot/integration/tests/PurgeMinionClusterIntegrationTest.java | 2 +-
.../main/java/org/apache/pinot/calcite/rel/rules/PinotRuleUtils.java | 2 +-
.../apache/pinot/segment/local/utils/tablestate/TableStateUtils.java | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java b/pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java
index 442d5ced57a..fa423c7d081 100644
--- a/pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java
+++ b/pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java
@@ -1016,7 +1016,7 @@ public class RealtimeSegmentDataManager extends SegmentDataManager {
TimeUnit.MILLISECONDS.toSeconds(now() - initialConsumptionEnd));
}
// There is a race condition that the destroy() method can be called which ends up calling stop on the consumer.
- // The destroy() method does not wait for the thread to terminate (and reasonably so, we dont want to wait
+ // The destroy() method does not wait for the thread to terminate (and reasonably so, we don't want to wait
// forever).
// Since the _shouldStop variable is set to true only in stop() method, we know that the metric will be destroyed,
// so it is ok not to mark it non-consuming, as the main thread will clean up this metric in destroy() method
diff --git a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/PurgeMinionClusterIntegrationTest.java b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/PurgeMinionClusterIntegrationTest.java
index 1ac32032960..44f9ba4e9c3 100644
--- a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/PurgeMinionClusterIntegrationTest.java
+++ b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/PurgeMinionClusterIntegrationTest.java
@@ -203,7 +203,7 @@ public class PurgeMinionClusterIntegrationTest extends BaseClusterIntegrationTes
public void testFirstRunPurge()
throws Exception {
// Expected purge task generation :
- // 1. No previous purge run so all segment should be processed and purge metadata sould be added to the segments
+ // 1. No previous purge run so all segment should be processed and purge metadata should be added to the segments
// 2. Check that we cannot run on same time two purge generation ensuring running segment will be skipped
// 3. Check segment ZK metadata to ensure purge time is updated into the metadata
// 4. Check after the first run of the purge if we rerun a purge task generation no task should be scheduled
diff --git a/pinot-query-planner/src/main/java/org/apache/pinot/calcite/rel/rules/PinotRuleUtils.java b/pinot-query-planner/src/main/java/org/apache/pinot/calcite/rel/rules/PinotRuleUtils.java
index e32b1b213cd..6ed696c5d6b 100644
--- a/pinot-query-planner/src/main/java/org/apache/pinot/calcite/rel/rules/PinotRuleUtils.java
+++ b/pinot-query-planner/src/main/java/org/apache/pinot/calcite/rel/rules/PinotRuleUtils.java
@@ -100,7 +100,7 @@ public class PinotRuleUtils {
* <ul>
* <li>`RelNode` that are single-in, single-out are possible (Project/Filter/)</li>
* <li>`Join` can be stacked on top if we only consider SEMI-JOIN</li>
- * <li>`Window` should be allowed but we dont have impl for Window on leaf, so not yet included.</li>
+ * <li>`Window` should be allowed but we don't have impl for Window on leaf, so not yet included.</li>
* <li>`Sort` should be allowed but we need to reorder Sort and Join first, so not yet included.</li>
* </ul>
*/
diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/tablestate/TableStateUtils.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/tablestate/TableStateUtils.java
index 6de4536de1b..9e28d0ba774 100644
--- a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/tablestate/TableStateUtils.java
+++ b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/tablestate/TableStateUtils.java
@@ -76,12 +76,12 @@ public class TableStateUtils {
}
/**
- * Checks if all segments for the given @param tableNameWithType were succesfully loaded
+ * Checks if all segments for the given @param tableNameWithType were successfully loaded
* This function will get all segments in IDEALSTATE and CURRENTSTATE for the given table,
* and then check if all ONLINE segments in IDEALSTATE match with CURRENTSTATE.
* @param helixManager helix manager for the server instance
* @param tableNameWithType table name for which segment state is to be checked
- * @return true if all segments for the given table are succesfully loaded. False otherwise
+ * @return true if all segments for the given table are successfully loaded. False otherwise
*/
public static boolean isAllSegmentsLoaded(HelixManager helixManager, String tableNameWithType) {
List<String> onlineSegments =
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org