Skip to content

Conversion Queue status from xml doesn't fail gracefully when Queue status is unavailable. #294

@troydai

Description

@troydai

Occasionally, the Queue service returns unavailable status:

<?xml version="1.0" encoding="utf-8"?><StorageServiceStats><GeoReplication><Status>unavailable</Status><LastSyncTime></LastSyncTime></GeoReplication></StorageServiceStats>

Because of the missing last sync time, deserialization keep throwing TypeError which not only not representing the correct service feedback, but also keeps SDK retrying muliple times.

https://github.com/Azure/azure-storage-python/blob/c9655db4aac42333f304d60d6d909a9579ed4474/azure/storage/_deserialization.py#L187

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions