[GitHub] [couchdb] rnewson commented on issue #3061: couch_index_server crashes too easily

2020-08-10 Thread GitBox
rnewson commented on issue #3061: URL: https://github.com/apache/couchdb/issues/3061#issuecomment-671451184 ``` handle_cast(delete, State) -> #st{mod=Mod, idx_state=IdxState} = State, ok = Mod:delete(IdxState), {stop, normal, State}; ```

[GitHub] [couchdb] rnewson commented on issue #3061: couch_index_server crashes too easily

2020-08-10 Thread GitBox
rnewson commented on issue #3061: URL: https://github.com/apache/couchdb/issues/3061#issuecomment-671418656 that looks better to me This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [couchdb] rnewson commented on issue #3061: couch_index_server crashes too easily

2020-08-10 Thread GitBox
rnewson commented on issue #3061: URL: https://github.com/apache/couchdb/issues/3061#issuecomment-671255684 I don't much like the idea of couch_index_server having to wait for that clean shutdown elsewhere. This is an

[GitHub] [couchdb] rnewson commented on issue #3061: couch_index_server crashes too easily

2020-08-10 Thread GitBox
rnewson commented on issue #3061: URL: https://github.com/apache/couchdb/issues/3061#issuecomment-671255305 ``` diff --git a/src/couch_index/src/couch_index_server.erl b/src/couch_index/src/couch_index_server.erl index 49d1e61b7..f1828c665 100644 ---

[GitHub] [couchdb] rnewson commented on issue #3061: couch_index_server crashes too easily

2020-08-10 Thread GitBox
rnewson commented on issue #3061: URL: https://github.com/apache/couchdb/issues/3061#issuecomment-671254847 Original introduction of this problem is here https://github.com/apache/couchdb/commit/d977eb7ec52bc13dca7b4f530cb51f42df0f6224.

[GitHub] [couchdb] rnewson commented on issue #3061: couch_index_server crashes too easily

2020-08-06 Thread GitBox
rnewson commented on issue #3061: URL: https://github.com/apache/couchdb/issues/3061#issuecomment-670030960 in the original logs, which I can't share here, there's a design document deletion while that index is building. the delete removes the underlying .view files and kills the