nickva commented on issue #4035:
URL: https://github.com/apache/couchdb/issues/4035#issuecomment-1136495808

   When the view is rebuilding it won't be able to return results. So make sure 
to account for that. At 280Gb that could take quite a while. First, apply 
`deflate_6` compression, so the rebuilt view can use that compression. When 
you're ready, you could try modifying the _design document of the corrupt view 
a bit (add a comment or a semicolon) that would change the view signature and 
start rebuilding the view. Make sure to account for the extra disk space and 
CPU resources as well.
   
   To migrate the database to have a higher Q sharding factor, after you apply 
`deflate_6`,  creating a `sensor_event_1` and then replicate from 
`sensor_event` to `sensor_event_1`. That would take quite a bit at 280Gb, could 
be a few days. Also make sure you have enough disk and CPU capacity. After that 
can try querying your views to ensure they have been built and return results. 
Then you'd need to update your client code to read from the `sensor_event_1` 
instead of `sensor_event`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to