Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-19160

Improve message about sent partition file during snapshot restore

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.16
    • None
    • Improved log message about sent partition file during snapshot restore
    • Release Notes Required

    Description

      Currently, message about partition is as below:

      [2023-03-29T18:31:44,773][INFO ]snapshot-runner-#863%node0%[SnapshotSender] Partition file has been send [part=part-645.bin, pair=GroupPartitionId [grpId=1544803905, partId=645], length=45056]

      It does not tell us:

      1. Receiver node id / address / consistent id.
      2. Cache or cache group name which partition belongs to. Numerical group id is not convenient way to determine cache or cache group.

      ______________________________________

      grpName is added to the message 'Partition file has been sent'

      rmtAddr is added to the message 'File has been sent to remote node'

      The output looks as follows now:

      [2023-08-09T10:16:35,911][INFO ][snapshot-runner-#798%snapshot.IgniteSnapshotRemoteRequestTest1%][SnapshotSender] Partition file has been sent [part=part-811.bin, pair=GroupPartitionId [grpId=1544803905, partId=811], grpName=default, length=45056]
      [2023-08-09T10:16:35,907][INFO ][snapshot-runner-#798%snapshot.IgniteSnapshotRemoteRequestTest1%][GridIoManager] File has been sent to remote node [name=part-812.bin, uploadTime=0.0 sec, retries=0, transferred=45056, rmtId=9305e4a3-a325-4949-8421-3cd781500000, rmtAddr=/127.0.0.1:47100]
      

      Attachments

        Issue Links

          Activity

            People

              julia_bakulina Julia Bakulina
              shishkovilja Ilya Shishkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m