Logs show this, repeatedly.
> Service 'indexer' exited with status 2. Restarting. Messages:
> goproj/src/github.com/couchbase/plasma/page.go:826 +0x111
> github.com/couchbase/plasma.(*Plasma).Persist(0xc435096400, 0x7f0498362e00, 0xc436f38600, 0xc4374c1b80, 0x0, 0x0)
> goproj/src/github.com/couchbase/plasma/persistor.go:139 +0x174
> github.com/couchbase/plasma.(*Plasma).PersistAll2.func1(0x7f0498362e00, 0x0, 0x0, 0xffffffffffffffff, 0x21, 0x21)
> goproj/src/github.com/couchbase/plasma/persistor.go:182 +0x5a
> github.com/couchbase/plasma.(*Plasma).VisitPartition(0xc435096400, 0x0, 0x0, 0xffffffffffffffff, 0xc440d28ce0, 0x0, 0x0)
> goproj/src/github.com/couchbase/plasma/page_visitor.go:64 +0x1ef
> github.com/couchbase/plasma.(*Plasma).PageVisitor.func1(0xc440d28cf0, 0xc440d28d00, 0x1, 0x1, 0xc435096400, 0xc440d28ce0, 0x0, 0x0, 0xffffffffffffffff)
> goproj/src/github.com/couchbase/plasma/page_visitor.go:40 +0x89
> created by github.com/couchbase/plasma.(*Plasma).PageVisitor
> goproj/src/github.com/couchbase/plasma/page_visitor.go:41 +0x1ae
> [goport(/opt/couchbase/bin/indexer)] 2019/05/07 15:00:54 child process exited with status 2
Couchbase was working fine until today.
The Java SDK always gives an error “Indexer In Warmup State. Please retry the request later.” The indexing GUI has red margins, as if the indexes are unbuilt. Dropping indexes from the GUI or the Java SDK always fails.
Restarting the Couchbase server does not help.
This thread shows the same error message on Windows. It says that this can happen if the data is corrupted on power-off. I certainly hope that that did not happen. Any machine can potentially lose power, and unrecoverable corruption of production data is a reason to strictly avoid Couchbase.
This is “Enterprise Edition 6.0.1 build 2037 ,” a single node on a development laptop, Ubuntu 18.10.