Hi
I try to run my sinc gateway in a couchbase server 3.0 and I'm having an 
error, this is the log:

panic: parent id "114-daa5a0716c79ba3a9e23927ac43e7cce" is missing

goroutine 56 [running]:
runtime.panic(0x818680, 0xc21010ed10)
        /usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/couchbaselabs/sync_gateway/db.RevTree.addRevision(0xc2103f3540, 
0xc2103f01b0, 0x24, 0xc2103ef210, 0x24, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/revtree.go:232
 
+0x361
github.com/couchbaselabs/sync_gateway/db.func·018(0xc210164000, 0x30, 
0xc2104c4004, 0xe1c5)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/shadower.go:124
 
+0x499
github.com/couchbaselabs/sync_gateway/db.func·013(0xc2104c4004, 0xe1c5, 
0xe1c5, 0x0, 0x0, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/crud.go:477
 
+0x283
github.com/couchbaselabs/sync_gateway/base.func·001(0xc2104c4004, 0xe1c5, 
0xe1c5, 0x0, 0x0, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/bucket.go:67
 
+0x7a
github.com/couchbaselabs/go-couchbase.func·013(0xc2104c4004, 0xe1c5, 
0xe1c5, 0x0, 0x0, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/client.go:584
 
+0x92
github.com/couchbaselabs/go-couchbase.(*Bucket).update(0xc2100ab900, 
0xc210077580, 0x30, 0x0, 0x7f0ae0c0ab78, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/client.go:565
 
+0xac
github.com/couchbaselabs/go-couchbase.(*Bucket).WriteUpdate(0xc2100ab900, 
0xc210077580, 0x30, 0x0, 0x7f0ae0c0abd8, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/client.go:589
 
+0xa6
github.com/couchbaselabs/sync_gateway/base.couchbaseBucket.WriteUpdate(0xc2100ab900,
 
0xc210077580, 0x30, 0x0, 0xc21028ebd0, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/bucket.go:71
 
+0x7a
github.com/couchbaselabs/sync_gateway/db.(*Database).updateDoc(0xc2104a0980, 
0xc210077580, 0x30, 0x8faf00, 0xc2103f34b0, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/crud.go:600
 
+0x4d8
github.com/couchbaselabs/sync_gateway/db.(*Shadower).pullDocument(0xc2100f3740, 
0xc210077580, 0x30, 0xc2102c1dc9, 0x3c, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/shadower.go:132
 
+0x20a
github.com/couchbaselabs/sync_gateway/db.(*Shadower).readTapFeed(0xc2100f3740)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/shadower.go:77
 
+0x275
created by github.com/couchbaselabs/sync_gateway/db.NewShadower
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/shadower.go:36
 
+0x117

goroutine 1 [IO wait]:
net.runtime_pollWait(0x7f0ae0db5a50, 0x72, 0x0)
        /usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2102728b0, 0x72, 0x7f0ae0db40c0, 0xb)
        /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2102728b0, 0xb, 0x7f0ae0db40c0)
        /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc210272850, 0xaac060, 0x0, 0x7f0ae0db40c0, 0xb)
        /usr/local/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc210111a68, 0x18, 0xc210042050, 0x472323)
        /usr/local/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc210111a68, 0x50, 0x9ab900, 0x3, 0xc210000960)
        /usr/local/go/src/pkg/net/tcpsock_posix.go:243 +0x27
net/http.(*Server).Serve(0xc210262910, 0x7f0ae0dbfec8, 0xc210111a68, 0x0, 
0x0)
        /usr/local/go/src/pkg/net/http/server.go:1622 +0x91
github.com/couchbaselabs/sync_gateway/base.ListenAndServeHTTP(0xc210000960, 
0x5, 0x0, 0x0, 0x0, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/http_listener.go:44
 
+0x396
github.com/couchbaselabs/sync_gateway/rest.(*ServerConfig).serve(0xc2100a7c60, 
0xc210000960, 0x5, 0x7f0ae0db42e0, 0xc21026b9c0)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:333
 
+0x95
github.com/couchbaselabs/sync_gateway/rest.RunServer(0xc2100a7c60)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:373
 
+0x6e9
github.com/couchbaselabs/sync_gateway/rest.ServerMain()
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:379
 
+0x2b
main.main()
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/main.go:16
 
+0x1a

goroutine 23 [sleep]:
time.Sleep(0x9502f900)
        /usr/local/go/src/pkg/runtime/time.goc:31 +0x31
github.com/couchbaselabs/sync_gateway/db.func·003()
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_cache.go:66
 
+0x62
created by github.com/couchbaselabs/sync_gateway/db.(*changeCache).Init
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_cache.go:68
 
+0x1be

goroutine 24 [select]:
github.com/couchbaselabs/go-couchbase.(*TapFeed).run(0xc2100d3c80)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:55
 
+0x2f9
created by github.com/couchbaselabs/go-couchbase.(*Bucket).StartTapFeed
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:39
 
+0x14a

goroutine 25 [chan receive]:
github.com/couchbaselabs/sync_gateway/base.func·002()
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/bucket.go:94
 
+0x53
created by 
github.com/couchbaselabs/sync_gateway/base.couchbaseBucket.StartTapFeed
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/bucket.go:104
 
+0x1bd

goroutine 26 [chan receive]:
github.com/couchbaselabs/sync_gateway/db.func·006()
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:49
 
+0xb5
created by github.com/couchbaselabs/sync_gateway/db.(*changeListener).Start
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/change_listener.go:63
 
+0x25e

goroutine 27 [chan receive]:
github.com/couchbaselabs/sync_gateway/db.(*DatabaseContext).watchDocChanges(0xc2100b2a00)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/assimilator.go:16
 
+0xa5
created by github.com/couchbaselabs/sync_gateway/db.NewDatabaseContext
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/db/database.go:114
 
+0x339

goroutine 31 [IO wait]:
net.runtime_pollWait(0x7f0ae0db5c48, 0x72, 0x0)
        /usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2100bf610, 0x72, 0x7f0ae0db40c0, 0xb)
        /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2100bf610, 0xb, 0x7f0ae0db40c0)
        /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc2100bf5b0, 0xc2101a6640, 0x18, 0x18, 0x0, ...)
        /usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc2101a3e20, 0xc2101a6640, 0x18, 0x18, 0x64, ...)
        /usr/local/go/src/pkg/net/net.go:122 +0xc5
io.ReadAtLeast(0x7f0ae0db5d18, 0xc2101a3e20, 0xc2101a6640, 0x18, 0x18, ...)
        /usr/local/go/src/pkg/io/io.go:288 +0xf6
io.ReadFull(0x7f0ae0db5d18, 0xc2101a3e20, 0xc2101a6640, 0x18, 0x18, ...)
        /usr/local/go/src/pkg/io/io.go:306 +0x71
github.com/dustin/gomemcached.(*MCRequest).Receive(0xc21024e780, 
0x7f0ae0db5d18, 0xc2101a3e20, 0xc2101a6640, 0x18, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/dustin/gomemcached/mc_req.go:129
 
+0xdf
github.com/dustin/gomemcached/client.(*Client).runFeed(0xc210086e10, 
0xc210039900, 0xc2101a6620)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/dustin/gomemcached/client/tap_feed.go:270
 
+0x11c
created by github.com/dustin/gomemcached/client.(*Client).StartTapFeed
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/dustin/gomemcached/client/tap_feed.go:251
 
+0x215

goroutine 54 [select]:
github.com/couchbaselabs/go-couchbase.(*TapFeed).run(0xc2100f3700)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:55
 
+0x2f9
created by github.com/couchbaselabs/go-couchbase.(*Bucket).StartTapFeed
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:39
 
+0x14a

goroutine 58 [select]:
github.com/dustin/gomemcached/client.(*Client).runFeed(0xc21026a840, 
0xc210267ae0, 0xc21026bae0)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/dustin/gomemcached/client/tap_feed.go:297
 
+0x5c3
created by github.com/dustin/gomemcached/client.(*Client).StartTapFeed
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/dustin/gomemcached/client/tap_feed.go:251
 
+0x215

goroutine 32 [select]:
github.com/couchbaselabs/go-couchbase.(*TapFeed).forwardTapEvents(0xc2100d3c80, 
0xc2101a6620, 0xc2100395a0, 0xc2101800c0, 0x13)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:101
 
+0x249
created by github.com/couchbaselabs/go-couchbase.(*TapFeed).connectToNodes
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:93
 
+0x367

goroutine 59 [chan send]:
github.com/couchbaselabs/go-couchbase.(*TapFeed).forwardTapEvents(0xc2100f3700, 
0xc21026bae0, 0xc2102678a0, 0xc2101eaa60, 0x13)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:110
 
+0x203
created by github.com/couchbaselabs/go-couchbase.(*TapFeed).connectToNodes
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/vendor/src/github.com/couchbaselabs/go-couchbase/tap.go:93
 
+0x367

goroutine 55 [chan send]:
github.com/couchbaselabs/sync_gateway/base.func·002()
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/bucket.go:102
 
+0x15e
created by 
github.com/couchbaselabs/sync_gateway/base.couchbaseBucket.StartTapFeed
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/bucket.go:104
 
+0x1bd

goroutine 57 [IO wait]:
net.runtime_pollWait(0x7f0ae0db5af8, 0x72, 0x0)
        /usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210272a70, 0x72, 0x7f0ae0db40c0, 0xb)
        /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210272a70, 0xb, 0x7f0ae0db40c0)
        /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc210272a10, 0xaac060, 0x0, 0x7f0ae0db40c0, 0xb)
        /usr/local/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc210111a98, 0x18, 0xc210273850, 0x472323)
        /usr/local/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc210111a98, 0x50, 0x800, 0x0, 0xc200000010)
        /usr/local/go/src/pkg/net/tcpsock_posix.go:243 +0x27
net/http.(*Server).Serve(0xc210262960, 0x7f0ae0dbfec8, 0xc210111a98, 0x0, 
0x0)
        /usr/local/go/src/pkg/net/http/server.go:1622 +0x91
github.com/couchbaselabs/sync_gateway/base.ListenAndServeHTTP(0xc210000968, 
0x5, 0x0, 0x0, 0x0, ...)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/base/http_listener.go:44
 
+0x396
github.com/couchbaselabs/sync_gateway/rest.(*ServerConfig).serve(0xc2100a7c60, 
0xc210000968, 0x5, 0x7f0ae0db42e0, 0xc2100fa820)
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:333
 
+0x95
created by github.com/couchbaselabs/sync_gateway/rest.RunServer
        
/data/jenkins/workspace/build_sync_gateway_101_centos-x64/app-under-test/sync_gateway/src/github.com/couchbaselabs/sync_gateway/rest/config.go:371
 
+0x5ce

Does anyone have an idea of why this is happening, and also a workround to 
start the sync again

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to