lakeFS icon indicating copy to clipboard operation
lakeFS copied to clipboard

lakeFS UI: if an image file is updated then UI still shows old image

Open kesarwam opened this issue 2 years ago • 3 comments

What happened?

Current Behavior: If an image file is updated then UI still shows old image from the cache.

Steps to Reproduce:

  1. Upload an image to main branch.
  2. Go to UI and view the image in main branch.
  3. Create a new branch and upload a new image but with same file name as in step # 1.
  4. Merge new branch to main branch.
  5. Go to UI and view the same image in main branch. It shows old image from the cache.
  6. Download the image file and view it locally. It shows new image, which is correct.

Expected Behavior

Expected Behavior: if an image file is updated then UI should show new image

lakeFS Version

0.90.0

Deplyoment

No response

Affected Clients

No response

Relevant logs output

No response

Contact Details

[email protected]

kesarwam avatar Jan 31 '23 22:01 kesarwam

This issue happens with any file (e.g. YAML, txt) that is viewable in UI.

kesarwam avatar Feb 01 '23 00:02 kesarwam

I narrowed down the problem.

This issue happens when I stage_object first and then upload_object changed object.

If I upload_object first and then upload_object changed object then this issue doesn't happen.

kesarwam avatar May 03 '23 20:05 kesarwam

This issue is now marked as stale after 90 days of inactivity, and will be closed soon. To keep it, mark it with the "no stale" label.

github-actions[bot] avatar Nov 01 '23 14:11 github-actions[bot]