Xun Liu created ZEPPELIN-3778: --------------------------------- Summary: Cluster synchronize notes Key: ZEPPELIN-3778 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3778 Project: Zeppelin Issue Type: Sub-task Components: zeppelin-server Affects Versions: 0.9.0 Reporter: Xun Liu Assignee: Xun Liu Attachments: syncNote.gif
In cluster mode, The user creates, modifies, and deletes the note on any of the zeppelin servers. All need to be notified to all the zeppelin servers in the cluster to synchronize the update of Notebook. Failure to do so will result in the user not being able to continue while switching to another server. 1. Listen for note update events Listen for the NEW_NOTE、DEL_NOTE、REMOVE_NOTE_TO_TRASH ... event of the notebook in the NotebookServer#onMessage() function. 2. Broadcast note update event The note is refreshed by notifying the event to all zeppelin servers in the cluster via messagingService. 3. Screen recording !syncNote.gif! -- This message was sent by Atlassian JIRA (v7.6.3#76005)