Re: [Gluster-users] Bitrot strange behavior

2018-04-18 Thread FNU Raghavendra Manjunath
Hi Cedric, The 120 seconds is given to allow a window for things to settle. i.e. imagine the following situation 1) open file (fd1 as file descriptor) 2) modify the file via fd1 3) close the file descriptor (fd1) 4) Again open the file (fd2) 5) modify In the above set of operations, by the time

Re: [Gluster-users] Bitrot strange behavior

2018-04-18 Thread Cedric Lemarchand
Hi Sweta, Thanks, this drive me some more questions: 1. What is the reason of delaying signature creation ? 2. As a same file (replicated or dispersed) having different signature thought bricks is by definition an error, it would be good to triggered it during a scrub, or with a different

Re: [Gluster-users] Bitrot strange behavior

2018-04-17 Thread Sweta Anandpara
Hi Cedric, Any file is picked up for signing by the bitd process after the predetermined wait of 120 seconds. This default value is captured in the volume option 'features.expiry-time' and is configurable - in your case, it can be set to 0 or 1. Point 2 is correct. A file corrupted before

[Gluster-users] Bitrot strange behavior

2018-04-16 Thread Cedric Lemarchand
Hello, I am playing around with the bitrot feature and have some questions: 1. when a file is created, the "trusted.bit-rot.signatureā€¯ attribute seems only created approximatively 120 seconds after its creations (the cluster is idle and there is only one file living on it). Why ? Is there a way