Index database switching method and device, equipment and storage medium

The embodiment of the invention provides a library switching method and device of an index library, equipment and a storage medium, which are used for realizing lossless library switching. Comprising the steps of obtaining index database version updating information and a resource utilization rate o...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WU YINGUANG, LI HAOJIN, YANG JIE
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a library switching method and device of an index library, equipment and a storage medium, which are used for realizing lossless library switching. Comprising the steps of obtaining index database version updating information and a resource utilization rate of a first retrieval node; when the index library version updating information indicates that the index library is in a new version, calculating the number of to-be-switched library retrieval nodes of a first retrieval node cluster partition corresponding to the first retrieval node according to the resource utilization rate; determining retrieval nodes to be subjected to library switching from the first retrieval node cluster partition according to the number of the retrieval nodes to be subjected to library switching; sending a library switching notification to the to-be-switched library retrieval node, so that the to-be-switched library retrieval node executes a library switching process; and when the index versi