Skip to main content
Skip to main content

SYNC

SYNC​

Name​

SYNC

Description​

Used to synchronize metadata for fe non-master nodes. doris only master node can write fe metadata, other fe nodes write metadata operations will be forwarded to master. After master finishes metadata writing operation, there will be a short delay for non-master nodes to replay metadata, you can use this statement to synchronize metadata.

grammar:

SYNC;

Example​

  1. Synchronized metadata:

    SYNC;

Keywords​

SYNC

Best Practice​