wohali edited a comment on issue #1460: Replaced broken node uses more data 
storage than expected
URL: https://github.com/apache/couchdb/issues/1460#issuecomment-412421542
 
 
   @jvegaseg Sorry, my misunderstanding.
   
   ~~Unfortunately db file has a unique value that specifies when the database 
was initialized. This value (effectively a coordinated datetime stamp, you can 
see it in the filename of the shard) is consistent across all shards on either 
side of the compaction process, meaning it is changed post compaction. The 
value is only specified once in the `_dbs` system database, which is 
aggressively forced to be consistent across all nodes. There's no way to say 
that, for node X, for shard 00-1f, use the updated shard, but for nodes Y and Z 
(in a standard `n=3` database) keep using the original shard since they are not 
yet done compacting. Things would get messy quickly.~~
   
   I can see the value in what you're proposing, but I'm not sure it's possible.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to