Changes between Version 86 and Version 87 of FAQ
- Timestamp:
- 2013-03-14T15:51:07Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ
v86 v87 110 110 '''[=#Q15_same_file_same_cap Q15:] If upload the same file again and again, Tahoe-LAFS will return the same capability. How does Tahoe-LAFS identify that the client is same, when I upload files mutiple times, is it based on node ID?''' 111 111 112 A: For immutable files this is true—the resulting capability will be the same each time you upload the same file contents. The capability is derived from two pieces of information: The content of the file and the " convergence secret". By default, the convergence secret is randomly generated by the node when it first starts up, then stored in the node's base directory ({{{~/.tahoe}}}) and re-used after that. So the same file content uploaded from the same node will always have the same cap string. Uploading the file from a different node with a different convergence secret would result in a different cap string—and in a second copy of the file's contents stored on the grid. If you want files you upload to converge (also known as "deduplicate") with files uploaded by someone else, just make sure you're using the same convergence secret as they are.112 A: For immutable files this is true—the resulting capability will be the same each time you upload the same file contents. The capability is derived from two pieces of information: The content of the file and the "[https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Convergence%20Secret convergence secret]". By default, the convergence secret is randomly generated by the node when it first starts up, then stored in the node's base directory ({{{~/.tahoe}}}) and re-used after that. So the same file content uploaded from the same node will always have the same cap string. Uploading the file from a different node with a different convergence secret would result in a different cap string—and in a second copy of the file's contents stored on the grid. If you want files you upload to converge (also known as "deduplicate") with files uploaded by someone else, just make sure you're using the same convergence secret as they are. 113 113 114 114 '''[=#Q15.1_dedupe_dangers Q15.1:] Isn't deduplication dangerous? Can someone figure out whether or not I have a certain file?'''