Coder Social home page Coder Social logo

Comments (1)

Kaito0597 avatar Kaito0597 commented on July 20, 2024

Update: I think I might have found the cause, and it's a weird one. In the course of testing my app, I will usually have MacOS's Finder window open to the root directory of my Samba share where I am testing the various file operations of my app such as uploading, renaming, deleting, and so on, just so I get instant feedback and make sure that they went well. As it turns out, for some reason, having the MacOS Finder window open, and looking at a share, delays at least the deleting operation from occurring. And only on newly added files. A very specific edge case I know. I have tested this a few times with the Finder window open and closed in combination with a SSH terminal and the good ol' fashion ls command to verify that the file was deleted, and each time the window was open, there would be a large delay, and each time it was closed, there wouldn't. I don't know if this is an issue with the framework or MacOS's implementation of the SMB protocol, but I am leaning towards the latter given how strange it is. I am going to leave this open just for the time being and continue working on my app since there will most certainly be many more deletions, and set up something that will notify me if the file sticks around any longer than it should, and if it does, I'll know that this is all just a strange coincidence. If in about a week, it hasn't occurred, I'll close this issue.

from amsmb2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.