Deletion of folder with two milions files

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
pmpb
Junior Member
Junior Member
Posts: 4
Joined: 2020-06-26, 14:35 UTC

Deletion of folder with two milions files

Post by *pmpb »

Bug occured during deletion of folder with 2kk+ files. After removing 2kk (two milons) files percentage value equals 100%. With next files we got 101%, 102% etc.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Deletion of folder with two milions files

Post by *ghisler(Author) »

Normally this happens when there are more files during the delete phase than there were when counting. Did anything in the background continue to create files in that folder?
Author of Total Commander
https://www.ghisler.com
pmpb
Junior Member
Junior Member
Posts: 4
Joined: 2020-06-26, 14:35 UTC

Re: Deletion of folder with two milions files

Post by *pmpb »

No, there was no background process. But TC was able to count files(before deletion) more quickly than W10, maybe in that place is some bug/assumption hiding?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Deletion of folder with two milions files

Post by *ghisler(Author) »

Do you use the tool "Everything"?
Author of Total Commander
https://www.ghisler.com
pmpb
Junior Member
Junior Member
Posts: 4
Joined: 2020-06-26, 14:35 UTC

Re: Deletion of folder with two milions files

Post by *pmpb »

No, but what you need? Is there any other message channel where we can communicate more efficiently?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Deletion of folder with two milions files

Post by *ghisler(Author) »

I asked because when getting the numbers via Everything, they may be outdated.
Author of Total Commander
https://www.ghisler.com
pmpb
Junior Member
Junior Member
Posts: 4
Joined: 2020-06-26, 14:35 UTC

Re: Deletion of folder with two milions files

Post by *pmpb »

In that case I do not use Everything. I was unable to open this folder in win explorer, and I am not sure about opening in TC. After all there was 6kk files in this folder and TC deleted all (300%+).
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Deletion of folder with two milions files

Post by *Hacker »

Sounds like some integer overflow to me. Integer is 2^31 (2,147,483,648). 6 million files is three times that (300 %).

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Deletion of folder with two milions files

Post by *Dalai »

2Hacker
Huh? 2^31 is 2.1 billion, not 2.1 million.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Deletion of folder with two milions files

Post by *Hacker »

Dalai,
Uhhh.... right... well, move along, there is nothing to see here. This is not the explanation you're looking for *waves hand*.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply