mirror of
https://github.com/facebookresearch/faiss.git
synced 2025-06-03 21:54:02 +08:00
Summary: This diff fixes https://github.com/facebookresearch/faiss/issues/1412 There were various inconsistencies in how the shard and replica wrappers updated their internal state as the sub-indices were updated. This makes the two container classes work in the same way with similar synchronization functionality. Reviewed By: beauby Differential Revision: D23974186 fbshipit-source-id: c688c0c9124f823e4239aa2ff617b007b4564859