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

Improve message about received partition file during snapshot restore

    XMLWordPrintableJSON

Details

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

    Description

      Currently, GridIoManager prints only name of a file and node id:

      [2023-03-24T18:07:00,747][INFO ]pub-#871%node1%[GridIoManager] File has been received [name=part-233.bin, transferred=53248, time=0.0 sec, rmtId=76e22ef5-3c76-4987-bebd-9a6222a00000]

      This meager information does not allow to determine in a simple way which file is received and from which node.

      For example, such message would be more informative:

      [2023-03-29T17:09:42,230][INFO ]pub-#869%node0%[GridIoManager] File has been received [path=/ignite/db/node0/_tmp_snp_restore_cache-default/part-647.bin, transferred=45056, time=0.0 sec, rmtId=de43d2e8-a1ab-4d7c-9cea-726153700001, rmdAddr=/127.0.0.1:51773]

      Other ways might be investigated in order to improve logging of receiving partition files during snapshot restore.

      _______________

      A new output example:

      File has been received [name=part-49.bin, transferred=4096, time=0.0 sec, rmtId=2fc33e9d-09c9-4628-9cbe-2a7ba5000000, rmtAddr=/127.0.0.1:40354]

      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 - 1h 10m
                  1h 10m