You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of restoration of shallow snapshots, these functions are never called and the stats are not populated and returned as 0. We should correctly populate the stats in this case too.
Describe the solution you'd like
Information like bytes_recovered, bytes_total, etc. is obtained from the ReplicationLuceneIndex object of the RecoveryState for the shard being recovered
ReplicationLuceneIndex gets this data with addFileDetail() and addRecoveredBytesToFile() as and when these are called during the restore flow
Populating these stats correctly for restoration from shallow snapshots should return the required data in _cat/recovery response
Related component
Storage:Snapshots
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
_cat/recovery
call are populated asDescribe the solution you'd like
bytes_recovered
,bytes_total
, etc. is obtained from theReplicationLuceneIndex
object of theRecoveryState
for the shard being recoveredReplicationLuceneIndex
gets this data withaddFileDetail()
andaddRecoveredBytesToFile()
as and when these are called during the restore flow_cat/recovery
responseRelated component
Storage:Snapshots
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: