Comment 0 for bug 711389

Facundo Batista (facundo) wrote :

The same file is put in two clients; one gets first to the server, and the other receives SV_FILE_NEW.

Right now, it's a conflict (all SV_FILE_NEW goes to conflict).

If the local file is in LOCAL and the hash is the same than the server, it should leave the file as is (maybe cancel the upload?).

If the local file is in NONE and local hash is still nothing (the file is still not hashed), it should just set the server hash in the node (will leave it in SERVER state, and the HQ_HASH_NEW will deal with this info when it arrives).