You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "zwangsheng (via GitHub)" <gi...@apache.org> on 2023/08/08 10:07:38 UTC

[GitHub] [incubator-celeborn] zwangsheng opened a new pull request, #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

zwangsheng opened a new pull request, #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800

   …ics & Dashboard Panel
   
   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     - Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] Your PR title ...'.
     - Be sure to keep the PR description updated to reflect all changes.
     - Please write your PR title to summarize what this PR proposes.
     - If possible, provide a concise example to reproduce the issue for a faster review.
   -->
   
   ### What changes were proposed in this pull request?
   Add `PausePushDataTime ` Metrics
   
   
   ### Why are the changes needed?
   Count each celeborn worker pause time.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Cluster Test
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] waitinfuture closed pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "waitinfuture (via GitHub)" <gi...@apache.org>.
waitinfuture closed pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel
URL: https://github.com/apache/incubator-celeborn/pull/1800


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] pan3793 commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1287805053


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -65,7 +65,9 @@ public class MemoryManager {
   private final AtomicLong diskBufferCounter = new AtomicLong(0);
   private final LongAdder pausePushDataCounter = new LongAdder();
   private final LongAdder pausePushDataAndReplicateCounter = new LongAdder();
+  private final AtomicLong pausePushDataTime = new AtomicLong(0);

Review Comment:
   LongAdder



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] pan3793 commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1287807611


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -163,6 +166,7 @@ private MemoryManager(CelebornConf conf) {
                 logger.info("Trigger action: RESUME PUSH and REPLICATE");
                 memoryPressureListeners.forEach(
                     memoryPressureListener -> memoryPressureListener.onResume("all"));
+                pausePushDataTime.addAndGet(System.currentTimeMillis() - lastPauseTime);

Review Comment:
   the state machine does not look correct to me.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] waitinfuture commented on pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "waitinfuture (via GitHub)" <gi...@apache.org>.
waitinfuture commented on PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#issuecomment-1696953178

   > ![截屏2023-08-08 18 08 16](https://user-images.githubusercontent.com/52876270/259065655-94ac51b6-922e-46ed-a0fc-f869d7ccc48e.png)
   
   According to the snapshot, the metrics will monotonously increase. Is it better to define the metric as `pause time in last xxx minutes`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1287848163


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -65,7 +65,9 @@ public class MemoryManager {
   private final AtomicLong diskBufferCounter = new AtomicLong(0);
   private final LongAdder pausePushDataCounter = new LongAdder();
   private final LongAdder pausePushDataAndReplicateCounter = new LongAdder();
+  private final AtomicLong pausePushDataTime = new AtomicLong(0);

Review Comment:
   fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#issuecomment-1694938943

   CI fail related to #1844, will rebase and test agine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] waitinfuture commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "waitinfuture (via GitHub)" <gi...@apache.org>.
waitinfuture commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1306984985


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -281,7 +285,10 @@ protected void switchServingState() {
         trimAllListeners();
         break;
       case NONE_PAUSED:
-        logger.info("Trigger action: RESUME PUSH and REPLICATE");
+        long pauseSpendMills = System.currentTimeMillis() - pauseStartTime;
+        logger.info(
+            "Trigger action: RESUME PUSH and REPLICATE, pause push spent: " + pauseSpendMills);
+        pausePushDataTime.add(pauseSpendMills);

Review Comment:
   Consider the corner case that a worker enters the pause state but never goes out, then  `pausePushDataTime` will never increase. Maybe we can increase `pausePushDataTime` every N successive pause states, as well as state changes from pause to non_pause.
   
   Also, I think we should consider worker under high load only when the pause time exceeds some threshold, instead of whenever it enters pause state, as https://github.com/apache/incubator-celeborn/pull/1840 does, cc @pan3793



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] codecov[bot] commented on pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#issuecomment-1669338708

   ## [Codecov](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1800?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   > Merging [#1800](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1800?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (f2752f5) into [main](https://app.codecov.io/gh/apache/incubator-celeborn/commit/4ae9e2476fd3a8c81c5b4956cf615c3163d468e8?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (4ae9e24) will **increase** coverage by `0.14%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@            Coverage Diff             @@
   ##             main    #1800      +/-   ##
   ==========================================
   + Coverage   46.61%   46.75%   +0.14%     
   ==========================================
     Files         162      162              
     Lines       10077    10077              
     Branches      927      927              
   ==========================================
   + Hits         4696     4710      +14     
   + Misses       5071     5059      -12     
   + Partials      310      308       -2     
   ```
   
   
   [see 1 file with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1800/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] FMX commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "FMX (via GitHub)" <gi...@apache.org>.
FMX commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1289510914


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -140,6 +142,7 @@ private MemoryManager(CelebornConf conf) {
             if (lastState != servingState) {
               logger.info("Serving state transformed from {} to {}", lastState, servingState);
               if (servingState == ServingState.PUSH_PAUSED) {
+                lastPauseTime = System.currentTimeMillis();

Review Comment:
   PUSH_AND_REPLICATE_PAUSED will pause push data and Celeborn worker might changed to PUSH_AND_REPLICATE_PAUSED directly is memory pressure is high.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1287847393


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -163,6 +166,7 @@ private MemoryManager(CelebornConf conf) {
                 logger.info("Trigger action: RESUME PUSH and REPLICATE");
                 memoryPressureListeners.forEach(
                     memoryPressureListener -> memoryPressureListener.onResume("all"));
+                pausePushDataTime.addAndGet(System.currentTimeMillis() - lastPauseTime);

Review Comment:
   `RESUM` always be triggered after `PAUSE_PUSH`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#issuecomment-1670734373

   Marked as draft, should do some logic optimize before this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1322730265


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -66,7 +68,10 @@ public class MemoryManager {
   private final LongAdder pausePushDataCounter = new LongAdder();
   private final LongAdder pausePushDataAndReplicateCounter = new LongAdder();
   private ServingState servingState = ServingState.NONE_PAUSED;
+  private long pauseStartTime = -1L;
+  private long pausePushDataTime = 0L;
   private volatile boolean isPaused = false;
+  private final AtomicInteger trimCounter = new AtomicInteger(0);

Review Comment:
   Address



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] pan3793 commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1287868844


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -163,6 +166,7 @@ private MemoryManager(CelebornConf conf) {
                 logger.info("Trigger action: RESUME PUSH and REPLICATE");
                 memoryPressureListeners.forEach(
                     memoryPressureListener -> memoryPressureListener.onResume("all"));
+                pausePushDataTime.addAndGet(System.currentTimeMillis() - lastPauseTime);

Review Comment:
   what if the worker goes into PUSH_AND_REPLICATE_PAUSED?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1304030249


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -140,6 +142,7 @@ private MemoryManager(CelebornConf conf) {
             if (lastState != servingState) {
               logger.info("Serving state transformed from {} to {}", lastState, servingState);
               if (servingState == ServingState.PUSH_PAUSED) {
+                lastPauseTime = System.currentTimeMillis();

Review Comment:
   Got this. After the logic here clearly #1835 , will go on this pr.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] waitinfuture commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "waitinfuture (via GitHub)" <gi...@apache.org>.
waitinfuture commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1319617783


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -246,6 +252,13 @@ protected void switchServingState() {
     servingState = currentServingState();
     if (lastState == servingState) {
       if (servingState != ServingState.NONE_PAUSED) {
+        // force to append pause spent time even we are in pause state
+        if (trimCounter.incrementAndGet() >= forceAppendPauseSpentTimeThreshold) {
+          logger.debug(
+              "Trigger action: TRIM for {} times, force to append pause spent time.",
+              trimCounter.incrementAndGet());

Review Comment:
   get



##########
common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala:
##########
@@ -676,6 +676,8 @@ class CelebornConf(loadDefaults: Boolean) extends Cloneable with Logging with Se
   def metricsAppTopDiskUsageCount: Int = get(METRICS_APP_TOP_DISK_USAGE_COUNT)
   def metricsAppTopDiskUsageWindowSize: Int = get(METRICS_APP_TOP_DISK_USAGE_WINDOW_SIZE)
   def metricsAppTopDiskUsageInterval: Long = get(METRICS_APP_TOP_DISK_USAGE_INTERVAL)
+  def metricsWorkerForceAppendPauseSpentTimeThreshold: Int =
+    get(METRICS_WORKER_PAUSE_SPENT_TINE_FORCE_APPEND_THRESHOLD)

Review Comment:
   typo METRICS_WORKER_PAUSE_SPENT_TIME_FORCE_APPEND_THRESHOLD



##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -65,8 +67,11 @@ public class MemoryManager {
   private final AtomicLong diskBufferCounter = new AtomicLong(0);
   private final LongAdder pausePushDataCounter = new LongAdder();
   private final LongAdder pausePushDataAndReplicateCounter = new LongAdder();
+  private final LongAdder pausePushDataTime = new LongAdder();

Review Comment:
   Since `switchServingState` will be called sequentially in a single thread, I think it's safe to use long/int for `pausePushDataTime` and `trimCounter`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1307269129


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -281,7 +285,10 @@ protected void switchServingState() {
         trimAllListeners();
         break;
       case NONE_PAUSED:
-        logger.info("Trigger action: RESUME PUSH and REPLICATE");
+        long pauseSpendMills = System.currentTimeMillis() - pauseStartTime;
+        logger.info(
+            "Trigger action: RESUME PUSH and REPLICATE, pause push spent: " + pauseSpendMills);
+        pausePushDataTime.add(pauseSpendMills);

Review Comment:
   > Consider the corner case that a worker enters the pause state but never goes out, then pausePushDataTime will never increase. Maybe we can increase pausePushDataTime every N successive pause states, as well as state changes from pause to non_pause.
   
   This is a good idea.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#issuecomment-1709548260

   @waitinfuture 
   Sorry for late reply, current add logic to force append pause spent time after N TRIM action.
   
   As your comment to show `pause time in last xxx minutes`, IMO, users may care about how long the cluster in back-pressure state over this time.  `pause time in last xxx minutes` can tell us state in specifies the time frame, but not tell us macroscopically about the pause for the whole duration.
   
   Current PR implementation can do both of the things mentioned above.
   
   If you have any other ideas, please let me know.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] waitinfuture commented on a diff in pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "waitinfuture (via GitHub)" <gi...@apache.org>.
waitinfuture commented on code in PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#discussion_r1322492302


##########
worker/src/main/java/org/apache/celeborn/service/deploy/worker/memory/MemoryManager.java:
##########
@@ -66,7 +68,10 @@ public class MemoryManager {
   private final LongAdder pausePushDataCounter = new LongAdder();
   private final LongAdder pausePushDataAndReplicateCounter = new LongAdder();
   private ServingState servingState = ServingState.NONE_PAUSED;
+  private long pauseStartTime = -1L;
+  private long pausePushDataTime = 0L;
   private volatile boolean isPaused = false;
+  private final AtomicInteger trimCounter = new AtomicInteger(0);

Review Comment:
   Does trimCounter need to be atomic?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#issuecomment-1714870811

   @waitinfuture Thanks for your review, made correction, PTAL


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-celeborn] zwangsheng commented on pull request #1800: [CELEBORN-882][WORKER][METRICS] Add `Pause Push Data Time Count` Metrics & Dashboard Panel

Posted by "zwangsheng (via GitHub)" <gi...@apache.org>.
zwangsheng commented on PR #1800:
URL: https://github.com/apache/incubator-celeborn/pull/1800#issuecomment-1669323106

   ![截屏2023-08-08 18 08 16](https://github.com/apache/incubator-celeborn/assets/52876270/94ac51b6-922e-46ed-a0fc-f869d7ccc48e)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org