Ivan Bessonov created IGNITE-23365:
--------------------------------------

             Summary: Fix huge log message with assignments
                 Key: IGNITE-23365
                 URL: https://issues.apache.org/jira/browse/IGNITE-23365
             Project: Ignite
          Issue Type: Improvement
            Reporter: Ivan Bessonov
         Attachments: assignments.log

When starting a node, we can write a message like this:
{code:java}
[2024-10-04T13:08:50,921][INFO 
][%node_3344%JRaft-ReadOnlyService-Disruptor_stripe_0-0][AssignmentsTracker] 
Assignment cache initialized for placement driver 
[groupAssignments={12_part_12=TokenizedAssignmentsImpl [nodes=UnmodifiableSet 
[Assignment [consistentId=node_3345, isPeer=true]], token=1334], 
20_part_20=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3346, isPeer=true]], token=1969], 
22_part_22=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3344, isPeer=true]], token=997], 
12_part_13=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3345, isPeer=true]], token=1323], 
20_part_21=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3344, isPeer=true]], token=1004], 
22_part_23=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3346, isPeer=true]], token=1978], 
25_part_24=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3346, isPeer=true]], token=2019], 
12_part_14=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3345, isPeer=true]], token=1327], 
20_part_22=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3344, isPeer=true]], token=1012], 
22_part_20=TokenizedAssignmentsImpl [nodes=UnmodifiableSet [Assignment 
[consistentId=node_3346, isPeer=true]], token=1974],...{code}
Full message is in the attachment. We should make it shorter.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to