[
https://issues.apache.org/jira/browse/IGNITE-23365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Koptilin reassigned IGNITE-23365:
--------------------------------------------
Assignee: Alexander Lapin
> 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
> Assignee: Alexander Lapin
> Priority: Major
> Labels: ignite-3
> 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.
> h3. UPD 1
> Following log format should be used:
> {code:java}
> node_3344: peers = {12_part_12, 12_part_14, 20_part_12}, learners =
> {23_part_12, 12_part_14, 20_part_12}
> node_3345: peers = {12_part_12, 12_part_14, 20_part_12}, learners =
> {23_part_12, 12_part_14, 20_part_12}
> node_3346: peers = {12_part_12, 12_part_14, 20_part_12}, learners =
> {23_part_12, 12_part_14, 20_part_12} {code}
> Both in case of single table/zone and multiple entities like we have in
> PlacementDriver.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)