ijioio commented on pull request #595:
URL: https://github.com/apache/solr/pull/595#issuecomment-1034132999


   Just in case, examples of full responses of snapshot backup (before and 
after changes applied):
   
   Before:
   
   ```json
   {
       "responseHeader": {
           "status": 0,
           "QTime": 0
       },
       "success": {
           "localhost:8983_solr": {
               "responseHeader": {
                   "status": 0,
                   "QTime": 1
               }
           },
           "localhost:8983_solr": {
               "responseHeader": {
                   "status": 0,
                   "QTime": 0
               }
           },
           "localhost:8983_solr": {
               "responseHeader": {
                   "status": 0,
                   "QTime": 0
               },
               "STATUS": "completed",
               "msg": "TaskId: 1004319510579040300 webapp=null 
path=/admin/cores 
params={core=techproducts_shard2_replica_n1&async=1004319510579040300&qt=/admin/cores&name=shard2&action=BACKUPCORE&location=file:///path/to/my/shared/drive/mybackup/techproducts&incremental=false&wt=javabin&version=2}
 status=0 QTime=1",
               "response": {
                   "startTime": "Wed Feb 09 07:25:51 UTC 2022",
                   "fileCount": 1,
                   "status": "success",
                   "snapshotCompletedAt": "Wed Feb 09 07:25:51 UTC 2022",
                   "snapshotName": "shard2",
                   "directoryName": "snapshot.shard2"
               }
           },
           "localhost:8983_solr": {
               "responseHeader": {
                   "status": 0,
                   "QTime": 0
               },
               "STATUS": "completed",
               "msg": "TaskId: 1004319510579566200 webapp=null 
path=/admin/cores 
params={core=techproducts_shard1_replica_n6&async=1004319510579566200&qt=/admin/cores&name=shard1&action=BACKUPCORE&location=file:///path/to/my/shared/drive/mybackup/techproducts&incremental=false&wt=javabin&version=2}
 status=0 QTime=0",
               "response": {
                   "startTime": "Wed Feb 09 07:25:51 UTC 2022",
                   "fileCount": 21,
                   "status": "success",
                   "snapshotCompletedAt": "Wed Feb 09 07:25:51 UTC 2022",
                   "snapshotName": "shard1",
                   "directoryName": "snapshot.shard1"
               }
           }
       },
       "1004319510579040300": {
           "responseHeader": {
               "status": 0,
               "QTime": 0
           },
           "STATUS": "completed",
           "msg": "TaskId: 1004319510579040300 webapp=null path=/admin/cores 
params={core=techproducts_shard2_replica_n1&async=1004319510579040300&qt=/admin/cores&name=shard2&action=BACKUPCORE&location=file:///path/to/my/shared/drive/mybackup/techproducts&incremental=false&wt=javabin&version=2}
 status=0 QTime=1",
           "response": {
               "startTime": "Wed Feb 09 07:25:51 UTC 2022",
               "fileCount": 1,
               "status": "success",
               "snapshotCompletedAt": "Wed Feb 09 07:25:51 UTC 2022",
               "snapshotName": "shard2",
               "directoryName": "snapshot.shard2"
           }
       },
       "1004319510579566200": {
           "responseHeader": {
               "status": 0,
               "QTime": 0
           },
           "STATUS": "completed",
           "msg": "TaskId: 1004319510579566200 webapp=null path=/admin/cores 
params={core=techproducts_shard1_replica_n6&async=1004319510579566200&qt=/admin/cores&name=shard1&action=BACKUPCORE&location=file:///path/to/my/shared/drive/mybackup/techproducts&incremental=false&wt=javabin&version=2}
 status=0 QTime=0",
           "response": {
               "startTime": "Wed Feb 09 07:25:51 UTC 2022",
               "fileCount": 21,
               "status": "success",
               "snapshotCompletedAt": "Wed Feb 09 07:25:51 UTC 2022",
               "snapshotName": "shard1",
               "directoryName": "snapshot.shard1"
           }
       },
       "response": {
           "collection": "techproducts",
           "numShards": 2,
           "endTime": "2022-02-09T07:25:52.879269500Z"
       },
       "status": {
           "state": "completed",
           "msg": "found [1004] in completed tasks"
       }
   }
   ```
   
   After:
   
   ```json
   {
       "responseHeader": {
           "status": 0,
           "QTime": 2
       },
       "success": {
           "localhost:8983_solr": {
               "responseHeader": {
                   "status": 0,
                   "QTime": 1
               }
           },
           "localhost:8983_solr": {
               "responseHeader": {
                   "status": 0,
                   "QTime": 1
               }
           },
           "localhost:8983_solr": {
               "responseHeader": {
                   "status": 0,
                   "QTime": 0
               },
               "STATUS": "completed",
               "msg": "TaskId: 1000362128923089600 webapp=null 
path=/admin/cores 
params={core=techproducts_shard2_replica_n6&async=1000362128923089600&qt=/admin/cores&name=shard2&action=BACKUPCORE&location=file:///path/to/my/shared/drive/mybackup/techproducts&incremental=false&wt=javabin&version=2}
 status=0 QTime=1",
               "response": {
                   "startTime": "Wed Feb 09 19:16:10 UTC 2022",
                   "fileCount": 1,
                   "status": "success",
                   "snapshotCompletedAt": "Wed Feb 09 19:16:10 UTC 2022",
                   "snapshotName": "shard2",
                   "directoryName": "snapshot.shard2"
               }
           },
           "localhost:8983_solr": {
               "responseHeader": {
                   "status": 0,
                   "QTime": 0
               },
               "STATUS": "completed",
               "msg": "TaskId: 1000362128925570500 webapp=null 
path=/admin/cores 
params={core=techproducts_shard1_replica_n4&async=1000362128925570500&qt=/admin/cores&name=shard1&action=BACKUPCORE&location=file:///path/to/my/shared/drive/mybackup/techproducts&incremental=false&wt=javabin&version=2}
 status=0 QTime=1",
               "response": {
                   "startTime": "Wed Feb 09 19:16:10 UTC 2022",
                   "fileCount": 21,
                   "status": "success",
                   "snapshotCompletedAt": "Wed Feb 09 19:16:10 UTC 2022",
                   "snapshotName": "shard1",
                   "directoryName": "snapshot.shard1"
               }
           }
       },
       "1000362128923089600": {
           "responseHeader": {
               "status": 0,
               "QTime": 0
           },
           "STATUS": "completed",
           "msg": "TaskId: 1000362128923089600 webapp=null path=/admin/cores 
params={core=techproducts_shard2_replica_n6&async=1000362128923089600&qt=/admin/cores&name=shard2&action=BACKUPCORE&location=file:///path/to/my/shared/drive/mybackup/techproducts&incremental=false&wt=javabin&version=2}
 status=0 QTime=1",
           "response": {
               "startTime": "Wed Feb 09 19:16:10 UTC 2022",
               "fileCount": 1,
               "status": "success",
               "snapshotCompletedAt": "Wed Feb 09 19:16:10 UTC 2022",
               "snapshotName": "shard2",
               "directoryName": "snapshot.shard2"
           }
       },
       "1000362128925570500": {
           "responseHeader": {
               "status": 0,
               "QTime": 0
           },
           "STATUS": "completed",
           "msg": "TaskId: 1000362128925570500 webapp=null path=/admin/cores 
params={core=techproducts_shard1_replica_n4&async=1000362128925570500&qt=/admin/cores&name=shard1&action=BACKUPCORE&location=file:///path/to/my/shared/drive/mybackup/techproducts&incremental=false&wt=javabin&version=2}
 status=0 QTime=1",
           "response": {
               "startTime": "Wed Feb 09 19:16:10 UTC 2022",
               "fileCount": 21,
               "status": "success",
               "snapshotCompletedAt": "Wed Feb 09 19:16:10 UTC 2022",
               "snapshotName": "shard1",
               "directoryName": "snapshot.shard1"
           }
       },
       "response": {
           "collection": "techproducts",
           "numShards": 2,
           "backupId": -1,
           "indexVersion": "9.0.0",
           "startTime": "2022-02-09T19:16:10.082015800Z",
           "indexFileCount": 22,
           "uploadedIndexFileCount": 22,
           "endTime": "2022-02-09T19:16:11.191537400Z"
       },
       "status": {
           "state": "completed",
           "msg": "found [1000] in completed tasks"
       }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to