lbryio / hub

MIT License
16 stars 15 forks source link

duplicate partial keys given to multi_get_dict #51

Closed jackrobison closed 2 years ago

jackrobison commented 2 years ago

New uncaught resolve error

herald_1               | 2022-06-17 04:18:12,256 ERROR hub.herald.session:1063: exception handling Request('blockchain.claimtrie.resolve', ['lbry://@neilmccoyward#a', 'lbry://how-to-completely-avoid-a-question#9b1242408625c2c007c23c498f6e6821075ae45c', 'lbry://science-got-it#2', 'lbry://@neilmccoyward#a/it-happened-again…-coincidence-!#9', 'lbry://no-wonder-he-got-put-on-leave#a3a7a16c49df8b30706154a5628f938fcc3cebf2', "lbry://america's-economy-will-collapse...#a", 'lbry://biden-threatening-oil-companies#0553abf48a0968fcb224ad51a4627a5fd8b20b09', 'lbry://UK-Column-News-15th-June-2022#4e28f2e82d24466ec95fffdf3f696c8982e6dcdb', 'lbry://ep025-gmos#3e892771fa7d1ca07807ebeb6eba9db1f1f95e72', 'lbry://I-Wonder-What-Brad-Hazzard-Is-Paid-To-Say-What-He-Does-Here#c5a6db374bf28bbe4e1c8ab815dd5b172aefd31c'])
herald_1               | Traceback (most recent call last):
herald_1               |   File "/home/lbry/hub/herald/session.py", line 1056, in _handle_request
herald_1               |     result = await self.handle_request(request)
herald_1               |   File "/home/lbry/hub/herald/session.py", line 962, in handle_request
herald_1               |     return await coro(*request.args)
herald_1               |   File "/home/lbry/hub/herald/session.py", line 1292, in claimtrie_resolve
herald_1               |     resolved_needed = await self.db.batch_resolve_urls(list(needed))
herald_1               |   File "/home/lbry/hub/db/db.py", line 350, in batch_resolve_urls
herald_1               |     needed, await self._batch_resolve_parsed_urls(needed)
herald_1               |   File "/home/lbry/hub/db/db.py", line 272, in _batch_resolve_parsed_urls
herald_1               |     async for _, v in self.prefix_db.txo_to_claim.multi_get_async_gen(self._executor, list(needed_full_claim_hashes.values())):
herald_1               |   File "/home/lbry/hub/db/interface.py", line 107, in multi_get_async_gen
herald_1               |     assert len(packed_keys) == len(key_args), 'duplicate partial keys given to multi_get_dict'
herald_1               | AssertionError: duplicate partial keys given to multi_get_dict