You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (Jira)" <ji...@apache.org> on 2025/01/31 09:30:00 UTC
[jira] [Commented] (IGNITE-23365) Fix huge log message with assignments
[ https://issues.apache.org/jira/browse/IGNITE-23365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922631#comment-17922631 ]
Vyacheslav Koptilin commented on IGNITE-23365:
----------------------------------------------
Hi [~jakutenshi] ,
Could you please take a look?
> 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: Vyacheslav Koptilin
> Priority: Major
> Labels: ignite-3
> Fix For: 3.1
>
> Attachments: assignments.log
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)