sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.14k stars 207 forks source link

compute server filesystem: directory caching issue #7546

Open williamstein opened 2 months ago

williamstein commented 2 months ago
  1. I uploaded a file directly onto the compute server (so in file explorer the Server dropdown was set to the compute server)
  2. But directly on the compute server the file wouldn't read even though it appeared via ls.
  3. I clicked the sync button and then everything was fine.
image

Basically there is a hopefully easy to reproduce issue involving caching of file metadata.

WORKAROUND: If a file is there but empty or can't be read, click the "Sync" button.

In a lot of cases, manually clicking "sync" is necessary if you want the filesystem to sync immediately. That's by design. However, in this case -- uploading files via the UI -- definitely clicking sync should not be required.