"hg push" hangs for one minute (exactly one minute)

Ernie Rael errael at raelity.com
Sat Apr 30 23:54:57 UTC 2022


On 4/30/22 10:01 AM, Dennis Lee Bieber wrote:
> connection = sqlite3.connect(
> 				'file:/z/play/cache.db?vfs=unix-dotfile',
> 				uri=True)

Thanks for the pointers, I only got an inkling yesterday that python 
included a dmbs. Makes sense there's python docs.

It's interesting that the test I'm running works not only without 
specifying uri, but also with uri True /and/ False. That's python3.9. I 
agree, better safe than sorry.

> https://www.sqlite.org/vfs.html
> """
> Note that except for "unix" and "unix-excl", the various unix VFSes all use
> incompatible locking implementations. If two processes are accessing the
> same SQLite database using different unix VFSes, they may not see each
> others locks and may end up interfering with one another, resulting in
> database corruption.
> """

As for the following, using "unix-none" and depend on mercurial's 
locking, might be a good choice; I hope previous releases of evolve 
execute within the mercurial lock. And this disclaimer seems meaningless 
for remote NAS/NFS storage. Seems like trying to protect against 
non-mercurial access isn't needed.

I wonder how many, if any, mercurial evolve options there will be around 
locking.

-ernie




More information about the Mercurial mailing list