[ 
https://issues.apache.org/jira/browse/IGNITE-19164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julia Bakulina updated IGNITE-19164:
------------------------------------
    Description: 
Currently, during snapshot restore message is logged before requesting 
partitions from remote nodes:
{quote}[2023-03-24T18:06:59,910][INFO 
][disco-notifier-worker-#792%node%|#792%node%][SnapshotRestoreProcess] Trying 
to request partitions from remote nodes 
[reqId=ff682204-9554-4fbb-804c-38a79c0b286a, snapshot=snapshot_name, 
map={{*}{color:#ff0000}76e22ef5-3c76-4987-bebd-9a6222a00000{color}{*}={{*}{color:#ff0000}-903566235{color}{*}=[0,2,4,6,11,12,18,98,100,170,190,194,1015],
 
{*}{color:#ff0000}1544803905{color}{*}=[1,11,17,18,22,25,27,35,37,42,45,51,62,64,67,68,73,76,1017]}}]
{quote}
It is necessary to make this output "human readable":
 # Print messages per node instead of one message for all nodes.
 # Print consistent id and address of remote node, suppling partitions.
 # Print cache / group name.

_________

A new output example:
{code:java}
Trying to request partitions from remote node 
[reqId=9c78f302-9e75-43c6-bf58-3ec4d3c3bb59, snapshot=testSnapshot, 
nodeId=c53157d9-5429-4f09-a352-227f2d100000, grpParts={{grpId=-903566235, 
grpName=shared}=[1,2,3,6,7,8,9,11,12,18,19,20,27,29,34,38,39,40,41,42,43,45,46,48,53,56,58,59,62,64,65,66,67,69,70,72,73,76,77,78,79,80,89,90,94,95,97,99,100,102,108,110,112,113,114,115,117,120,121,122,123,126,131,134,135,136,137,138,139,140,145,149,156,157,158,160,162,163,167,170,173,175,178,181,182,183,187,189,195,196,198,199,201,202,203,204,206,207,208,209,211,212,217,220,221,223,224,225,226,228,230,232,234,235,240,241,242,243,244,246,251,252,255,256,258,259,260,261,264,269,271,272,273,275,276,277,280,281,282,283,284,287,288,295,297,298,300,301,302,303,306,308,311,312,315,317,322,324,325,327,330,331,342,344,346,348,349,352,353,354,355,358,360,363,364,365,367,368,369,370,371,373,374,376,379,380,381,382,383,384,386,387,388,389,395,396,397,403,404,405,408,409,411,412,413,417,419,421,423,424,426,430,431,432,433,435,436,437,438,439,440,442,445,447,452,453,454,455,461,462,463,464,466,467,468,470,471,472,473,474,475,476,477,480,481,482,485,487,488,490,491,493,494,497,499,501,502,506,507,516,517,519,526,527,532,534,536,537,539,543,544,546,547,550,551,553,557,559,562,566,569,570,572,573,574,576,580,582,584,586,587,588,590,591,593,595,596,598,601,602,606,611,612,613,619,623,625,628,630,632,634,638,640,643,644,646,650,651,653,654,660,661,662,663,664,665,666,667,668,670,675,678,679,680,683,684,685,686,689,690,691,693,694,701,702,703,706,710,713,714,715,717,719,723,728,729,730,733,737,738,739,743,744,751,753,754,755,758,759,760,762,763,764,765,767,770,773,775,776,778,779,780,781,782,783,785,787,788,789,792,794,797,798,799,801,803,804,806,809,811,812,813,814,818,819,821,822,824,826,827,828,829,831,832,834,835,838,839,840,842,843,845,847,848,849,850,851,852,854,855,856,857,859,860,861,862,864,866,868,869,870,871,872,873,874,876,880,882,885,888,890,891,892,893,896,899,900,901,904,906,909,911,916,917,918,919,924,925,927,928,929,930,932,935,936,945,946,949,950,953,955,957,958,963,965,969,974,975,977,982,983,984,987,988,990,991,992,993,994,999,1001,1004,1009,1010,1011,1013,1018,1019,1020,1021,1022,1023],
 {grpId=1544803905, 
grpName=default}=[1,2,8,9,11,12,18,20,27,29,34,38,40,41,42,43,45,46,48,53,56,58,59,62,64,65,69,70,72,73,76,78,79,80,89,90,95,99,100,108,110,112,114,115,120,122,123,126,131,134,137,138,139,149,156,158,160,163,173,178,181,182,189,196,198,199,201,202,203,204,207,208,211,212,217,220,221,224,225,226,230,242,246,258,259,260,264,269,271,272,275,277,281,282,283,284,287,288,295,297,298,301,302,303,306,308,311,312,315,317,322,330,331,342,344,346,348,352,353,355,358,363,364,365,367,368,369,370,371,373,379,380,381,382,383,384,386,387,388,389,395,396,397,403,404,408,409,413,417,419,421,423,424,426,430,431,433,435,436,437,438,439,440,442,445,447,452,454,461,462,463,464,467,470,472,473,474,475,477,481,482,485,488,490,493,494,497,499,501,506,507,516,517,519,526,527,534,536,537,539,543,544,547,553,559,562,570,572,573,580,582,587,590,593,595,596,598,602,611,612,613,623,625,628,630,632,634,638,640,643,644,651,653,654,661,662,664,665,666,668,670,675,678,679,680,684,685,686,689,693,694,701,702,703,706,710,713,714,715,719,723,729,738,739,743,744,751,754,755,758,759,760,762,763,764,765,767,770,773,775,776,779,781,783,785,787,792,794,797,798,804,809,811,812,813,814,818,821,822,826,827,829,838,839,840,842,843,845,848,849,851,852,854,855,857,860,862,864,866,868,871,872,874,876,880,885,888,890,891,892,893,899,904,909,911,916,919,927,929,930,932,935,936,945,950,953,965,969,974,975,982,983,988,992,1009,1010,1018,1020,1021,1022]}]{code}
 

  was:
Currently, during snapshot restore message is logged before requesting 
partitions from remote nodes:
{quote}[2023-03-24T18:06:59,910][INFO 
][disco-notifier-worker-#792%node%|#792%node%][SnapshotRestoreProcess] Trying 
to request partitions from remote nodes 
[reqId=ff682204-9554-4fbb-804c-38a79c0b286a, snapshot=snapshot_name, 
map={{*}{color:#ff0000}76e22ef5-3c76-4987-bebd-9a6222a00000{color}{*}={{*}{color:#ff0000}-903566235{color}{*}=[0,2,4,6,11,12,18,98,100,170,190,194,1015],
 
{*}{color:#ff0000}1544803905{color}{*}=[1,11,17,18,22,25,27,35,37,42,45,51,62,64,67,68,73,76,1017]}}]
{quote}
It is necessary to make this output "human readable":
 # Print messages per node instead of one message for all nodes.
 # Print consistent id and address of remote node, suppling partitions.
 # Print cache / group name.

_________

A new output example:
{code:java}
Trying to request partitions from remote node 
[reqId=9c78f302-9e75-43c6-bf58-3ec4d3c3bb59, snapshot=testSnapshot, 
nodeId=c53157d9-5429-4f09-a352-227f2d100000, 
consistentId=snapshot.IgniteSnapshotRestoreFromRemoteTest0, 
grpParts={{grpId=-903566235, 
grpName=shared}=[1,2,3,6,7,8,9,11,12,18,19,20,27,29,34,38,39,40,41,42,43,45,46,48,53,56,58,59,62,64,65,66,67,69,70,72,73,76,77,78,79,80,89,90,94,95,97,99,100,102,108,110,112,113,114,115,117,120,121,122,123,126,131,134,135,136,137,138,139,140,145,149,156,157,158,160,162,163,167,170,173,175,178,181,182,183,187,189,195,196,198,199,201,202,203,204,206,207,208,209,211,212,217,220,221,223,224,225,226,228,230,232,234,235,240,241,242,243,244,246,251,252,255,256,258,259,260,261,264,269,271,272,273,275,276,277,280,281,282,283,284,287,288,295,297,298,300,301,302,303,306,308,311,312,315,317,322,324,325,327,330,331,342,344,346,348,349,352,353,354,355,358,360,363,364,365,367,368,369,370,371,373,374,376,379,380,381,382,383,384,386,387,388,389,395,396,397,403,404,405,408,409,411,412,413,417,419,421,423,424,426,430,431,432,433,435,436,437,438,439,440,442,445,447,452,453,454,455,461,462,463,464,466,467,468,470,471,472,473,474,475,476,477,480,481,482,485,487,488,490,491,493,494,497,499,501,502,506,507,516,517,519,526,527,532,534,536,537,539,543,544,546,547,550,551,553,557,559,562,566,569,570,572,573,574,576,580,582,584,586,587,588,590,591,593,595,596,598,601,602,606,611,612,613,619,623,625,628,630,632,634,638,640,643,644,646,650,651,653,654,660,661,662,663,664,665,666,667,668,670,675,678,679,680,683,684,685,686,689,690,691,693,694,701,702,703,706,710,713,714,715,717,719,723,728,729,730,733,737,738,739,743,744,751,753,754,755,758,759,760,762,763,764,765,767,770,773,775,776,778,779,780,781,782,783,785,787,788,789,792,794,797,798,799,801,803,804,806,809,811,812,813,814,818,819,821,822,824,826,827,828,829,831,832,834,835,838,839,840,842,843,845,847,848,849,850,851,852,854,855,856,857,859,860,861,862,864,866,868,869,870,871,872,873,874,876,880,882,885,888,890,891,892,893,896,899,900,901,904,906,909,911,916,917,918,919,924,925,927,928,929,930,932,935,936,945,946,949,950,953,955,957,958,963,965,969,974,975,977,982,983,984,987,988,990,991,992,993,994,999,1001,1004,1009,1010,1011,1013,1018,1019,1020,1021,1022,1023],
 {grpId=1544803905, 
grpName=default}=[1,2,8,9,11,12,18,20,27,29,34,38,40,41,42,43,45,46,48,53,56,58,59,62,64,65,69,70,72,73,76,78,79,80,89,90,95,99,100,108,110,112,114,115,120,122,123,126,131,134,137,138,139,149,156,158,160,163,173,178,181,182,189,196,198,199,201,202,203,204,207,208,211,212,217,220,221,224,225,226,230,242,246,258,259,260,264,269,271,272,275,277,281,282,283,284,287,288,295,297,298,301,302,303,306,308,311,312,315,317,322,330,331,342,344,346,348,352,353,355,358,363,364,365,367,368,369,370,371,373,379,380,381,382,383,384,386,387,388,389,395,396,397,403,404,408,409,413,417,419,421,423,424,426,430,431,433,435,436,437,438,439,440,442,445,447,452,454,461,462,463,464,467,470,472,473,474,475,477,481,482,485,488,490,493,494,497,499,501,506,507,516,517,519,526,527,534,536,537,539,543,544,547,553,559,562,570,572,573,580,582,587,590,593,595,596,598,602,611,612,613,623,625,628,630,632,634,638,640,643,644,651,653,654,661,662,664,665,666,668,670,675,678,679,680,684,685,686,689,693,694,701,702,703,706,710,713,714,715,719,723,729,738,739,743,744,751,754,755,758,759,760,762,763,764,765,767,770,773,775,776,779,781,783,785,787,792,794,797,798,804,809,811,812,813,814,818,821,822,826,827,829,838,839,840,842,843,845,848,849,851,852,854,855,857,860,862,864,866,868,871,872,874,876,880,885,888,890,891,892,893,899,904,909,911,916,919,927,929,930,932,935,936,945,950,953,965,969,974,975,982,983,988,992,1009,1010,1018,1020,1021,1022]}]{code}
 


> Improve message about requested partitions during snapshot restore
> ------------------------------------------------------------------
>
>                 Key: IGNITE-19164
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19164
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Ilya Shishkov
>            Assignee: Julia Bakulina
>            Priority: Minor
>              Labels: iep-43, ise
>             Fix For: 2.16
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Currently, during snapshot restore message is logged before requesting 
> partitions from remote nodes:
> {quote}[2023-03-24T18:06:59,910][INFO 
> ][disco-notifier-worker-#792%node%|#792%node%][SnapshotRestoreProcess] Trying 
> to request partitions from remote nodes 
> [reqId=ff682204-9554-4fbb-804c-38a79c0b286a, snapshot=snapshot_name, 
> map={{*}{color:#ff0000}76e22ef5-3c76-4987-bebd-9a6222a00000{color}{*}={{*}{color:#ff0000}-903566235{color}{*}=[0,2,4,6,11,12,18,98,100,170,190,194,1015],
>  
> {*}{color:#ff0000}1544803905{color}{*}=[1,11,17,18,22,25,27,35,37,42,45,51,62,64,67,68,73,76,1017]}}]
> {quote}
> It is necessary to make this output "human readable":
>  # Print messages per node instead of one message for all nodes.
>  # Print consistent id and address of remote node, suppling partitions.
>  # Print cache / group name.
> _________
> A new output example:
> {code:java}
> Trying to request partitions from remote node 
> [reqId=9c78f302-9e75-43c6-bf58-3ec4d3c3bb59, snapshot=testSnapshot, 
> nodeId=c53157d9-5429-4f09-a352-227f2d100000, grpParts={{grpId=-903566235, 
> grpName=shared}=[1,2,3,6,7,8,9,11,12,18,19,20,27,29,34,38,39,40,41,42,43,45,46,48,53,56,58,59,62,64,65,66,67,69,70,72,73,76,77,78,79,80,89,90,94,95,97,99,100,102,108,110,112,113,114,115,117,120,121,122,123,126,131,134,135,136,137,138,139,140,145,149,156,157,158,160,162,163,167,170,173,175,178,181,182,183,187,189,195,196,198,199,201,202,203,204,206,207,208,209,211,212,217,220,221,223,224,225,226,228,230,232,234,235,240,241,242,243,244,246,251,252,255,256,258,259,260,261,264,269,271,272,273,275,276,277,280,281,282,283,284,287,288,295,297,298,300,301,302,303,306,308,311,312,315,317,322,324,325,327,330,331,342,344,346,348,349,352,353,354,355,358,360,363,364,365,367,368,369,370,371,373,374,376,379,380,381,382,383,384,386,387,388,389,395,396,397,403,404,405,408,409,411,412,413,417,419,421,423,424,426,430,431,432,433,435,436,437,438,439,440,442,445,447,452,453,454,455,461,462,463,464,466,467,468,470,471,472,473,474,475,476,477,480,481,482,485,487,488,490,491,493,494,497,499,501,502,506,507,516,517,519,526,527,532,534,536,537,539,543,544,546,547,550,551,553,557,559,562,566,569,570,572,573,574,576,580,582,584,586,587,588,590,591,593,595,596,598,601,602,606,611,612,613,619,623,625,628,630,632,634,638,640,643,644,646,650,651,653,654,660,661,662,663,664,665,666,667,668,670,675,678,679,680,683,684,685,686,689,690,691,693,694,701,702,703,706,710,713,714,715,717,719,723,728,729,730,733,737,738,739,743,744,751,753,754,755,758,759,760,762,763,764,765,767,770,773,775,776,778,779,780,781,782,783,785,787,788,789,792,794,797,798,799,801,803,804,806,809,811,812,813,814,818,819,821,822,824,826,827,828,829,831,832,834,835,838,839,840,842,843,845,847,848,849,850,851,852,854,855,856,857,859,860,861,862,864,866,868,869,870,871,872,873,874,876,880,882,885,888,890,891,892,893,896,899,900,901,904,906,909,911,916,917,918,919,924,925,927,928,929,930,932,935,936,945,946,949,950,953,955,957,958,963,965,969,974,975,977,982,983,984,987,988,990,991,992,993,994,999,1001,1004,1009,1010,1011,1013,1018,1019,1020,1021,1022,1023],
>  {grpId=1544803905, 
> grpName=default}=[1,2,8,9,11,12,18,20,27,29,34,38,40,41,42,43,45,46,48,53,56,58,59,62,64,65,69,70,72,73,76,78,79,80,89,90,95,99,100,108,110,112,114,115,120,122,123,126,131,134,137,138,139,149,156,158,160,163,173,178,181,182,189,196,198,199,201,202,203,204,207,208,211,212,217,220,221,224,225,226,230,242,246,258,259,260,264,269,271,272,275,277,281,282,283,284,287,288,295,297,298,301,302,303,306,308,311,312,315,317,322,330,331,342,344,346,348,352,353,355,358,363,364,365,367,368,369,370,371,373,379,380,381,382,383,384,386,387,388,389,395,396,397,403,404,408,409,413,417,419,421,423,424,426,430,431,433,435,436,437,438,439,440,442,445,447,452,454,461,462,463,464,467,470,472,473,474,475,477,481,482,485,488,490,493,494,497,499,501,506,507,516,517,519,526,527,534,536,537,539,543,544,547,553,559,562,570,572,573,580,582,587,590,593,595,596,598,602,611,612,613,623,625,628,630,632,634,638,640,643,644,651,653,654,661,662,664,665,666,668,670,675,678,679,680,684,685,686,689,693,694,701,702,703,706,710,713,714,715,719,723,729,738,739,743,744,751,754,755,758,759,760,762,763,764,765,767,770,773,775,776,779,781,783,785,787,792,794,797,798,804,809,811,812,813,814,818,821,822,826,827,829,838,839,840,842,843,845,848,849,851,852,854,855,857,860,862,864,866,868,871,872,874,876,880,885,888,890,891,892,893,899,904,909,911,916,919,927,929,930,932,935,936,945,950,953,965,969,974,975,982,983,988,992,1009,1010,1018,1020,1021,1022]}]{code}
>  



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

Reply via email to