Gil - I'm not hugely familiar with that piece of the code but 'object_count' was not a new column with storage policies so OperationalError: no such column: object_count suggests maybe a db corruption? You can use swift-container-info to exercise the same code path (get_info in db.py) e.g.
Gil - I'm not hugely familiar with that piece of the code but 'object_count' was not a new column with storage policies so OperationalError: no such column: object_count suggests maybe a db corruption? You can use swift-container -info to exercise the same code path (get_info in db.py) e.g.
$ swift-container -info /srv/4/ node/sdb4/ containers/ 544/3e5/ 8811f9249de0f71 1d6f652ab48aba3 e5/8811f9249de0 f711d6f652ab48a ba3e5.db
an repeat on each replica of the db to verify if it is just one bad replica.