When a user clicks on this button on the Zeppelin homepage:
[Screen Clipping]
...which notebooks are reloaded from storage: all the notebooks, or only the 
notebooks that belong to the user who clicked the refresh button?

Unfortunately in our setup, where all the notebooks are backed up on S3, it 
appears to be all the notebooks. This means that if any user on the multi-user 
system hits that button, then any notebook edits made since the last backup to 
S3 made by any user will be overwritten by the old copies.  This is immensely 
frustrating for the users who lose their edits! So, is this a known issue in 
Zeppelin; or is there a recommended way of syncing with S3 so that only the 
notebooks of the user who hits that button get refreshed?

BTW when the sync with S3 or wherever occurs, aren't the timestamps of the 
individual files compared first to determine which ways the files should be 
copied? If the S3 copy is newer then the local notebook should be overwritten 
(assuming times are in sync between the zeppelin host and S3). If the local 
copy is newer than that should be used to overwrite the copy in S3.  If this 
process were followed then it wouldn't matter if everyone's notebooks were 
updated when someone hits that button. This assumes Zeppelin can tell if 
someone is actively editing a paragraph that hasn't even been executed yet 
though.

Reply via email to