manila/releasenotes/notes/bug-1772647-b98025c07553e35d.yaml
Rodrigo Barbieri 84105ebde3 Fix ensure_shares bugs
Fixed bugs that caused ensure_shares to not work properly. Mainly:

- Comparison between db object and hash string was causing
  ensure_shares to run every time. Fixed by reading property
  'info_hash' of db object.
- Driver implementation of ensure_shares would raise an
  exception in case of returning None. Fixed by adding
  'or {}' to method invocation.
- Missing share_servers parameter for each share passed
  to ensure_shares. Fixed by converting share_instance
  entities to dictionaries before passing to drivers.

Closes-bug: #1771866
Closes-bug: #1772644
Closes-bug: #1772647

Change-Id: Iac969e9cac6cea46deb12f5d8423be592cfeb72a
2018-07-11 16:48:49 -03:00

6 lines
110 B
YAML

---
fixes:
- Fix ensure_shares running every time despite not having
any configuration option changed.