apache / apache/accumulo

SimpleLoadBalancer logging too many outstanding migrations

Open
#2,506 10 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
1.2k
Forks
487
Avg merge
4d 5h
Merged PRs (30d)
13

Description

The `SimpleLoadBalancer` logs too many outstanding migrations. I don't know why this is happening but anytime there is an outstanding migration, it will spam the Manager log with too many log messages.

:17,605 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.

2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,605 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] DEBUG: Sample up to 10 outstanding migrations: 30;d;c, 30<;f, 30;e;d, 30;a;9, 30;f;e, 30;9;8, 30;b;a, 30;c;b
2022-02-17T12:44:17,606 [balancer.SimpleLoadBalancer] WARN : Not balancing due to 8 outstanding migrations.

Contributor guide

Open the contributing guide

Research direction

Start by locating the SimpleLoadBalancer entry point and tracing the code that emits the repeated WARN and DEBUG messages shown in the report. Reproduce or inspect the outstanding-migration path, then verify that migration status remains visible without repeatedly spamming the Manager log.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.