This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic: send on closed channel | |
goroutine 32069 [running]: | |
panic(0xb0b600, 0xc45dccb750) | |
/home/tony/go/go/src/runtime/panic.go:500 +0x1a1 | |
github.com/DroiTaipei/mongo.getReadSess(0x7f6f7bc80000, 0x0, 0xc41fdf0e12) | |
/home/tony/code/go_buster/vendor/src/github.com/DroiTaipei/mongo/mongo.go:85 +0xc1 | |
github.com/DroiTaipei/mongo.QueryAll(0xc4323bf400, 0x3, 0x4, 0xc4264496c0, 0x3d, 0xaad1c0, 0xc423d58d60, 0xb12900, 0xc4241e3d40, 0xb1290 | |
0, ...) | |
/home/tony/code/go_buster/vendor/src/github.com/DroiTaipei/mongo/access.go:258 +0x5b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff src/server/main.go | |
diff --git a/src/server/main.go b/src/server/main.go | |
index cec5daa..805f796 100644 | |
--- a/src/server/main.go | |
+++ b/src/server/main.go | |
@@ -4,7 +4,7 @@ import ( | |
"flag" | |
"fmt" | |
"grpcapi" | |
- "grpcapi/sender" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Req: headers:<key:"X-Droi-AppID" value:"bf8umbzhigY-zYLSzOhEifAD91gTRXU2lQAAGsIK" > headers:<key:"_Id" value:"01e9d0188edee524cff7d101" > headers:<key:"body" value:"{\"db\": \"DroiObjectApi\", \"role\":\"56cea1d8c9922205b5bdfab7\", \"uid\":\"test\", \"pwd\":\"test\"}" > headers:<key:"collection" value:"DroiObjectApi" > headers:<key:"path" value:"unitest" > headers:<key:"role" value:"56cea1d8c9922205b5bdfab7" > headers:<key:"version" value:"1" > | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4a93b9] | |
goroutine 18166 [running]: | |
panic(0xb0fd00, 0xc42000c0c0) | |
/home/tony/go/go/src/runtime/panic.go:500 +0x1a1 | |
github.com/DroiTaipei/mongo.getReadSess(0x7f761d80b960, 0x0, 0xc41fa2fd05) | |
/home/tony/code/go_buster/vendor/src/github.com/DroiTaipei/mongo/mongo.go:96 +0x69 | |
github.com/DroiTaipei/mongo.QueryAll(0xc4278ecf80, 0x3, 0x4, 0xc42f435e40, 0x3d, 0xab1360, 0xc429597ea0, 0xb17180, 0xc42ba05e00, 0xb17180, ...) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/11/15 18:25:19 mongos 10.128.112.181:7379 : connnections: 10 | |
2016/11/15 18:25:19 mongos 10.128.112.181:7380 : connnections: 10 | |
2016/11/16 11:16:44 mongos 10.128.112.181:7379 : connnections: 10 | |
2016/11/16 11:16:44 mongos 10.128.112.181:7380 : connnections: 10 | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4a9259] | |
goroutine 273 [running]: | |
panic(0xb0fd00, 0xc42000c0c0) | |
/home/tony/go/go/src/runtime/panic.go:500 +0x1a1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4a98c9] | |
goroutine 11174 [running]: | |
panic(0xb10d00, 0xc42000c0c0) | |
/home/tony/go/go/src/runtime/panic.go:500 +0x1a1 | |
github.com/DroiTaipei/mongo.getReadSess(0x7fd2ed085e10, 0x0, 0xc41fb81026, 0x0, 0xc42ad83850) | |
/home/tony/code/go_buster/vendor/src/github.com/DroiTaipei/mongo/mongo.go:99 +0x69 | |
github.com/DroiTaipei/mongo.QueryAll(0xc4276a6a00, 0x3, 0x4, 0xc42ac42bc0, 0x3d, 0xab2360, 0xc4276a9b40, 0xb18180, 0xc428fdfad0, 0xb18180, ...) | |
/home/tony/code/go_buster/vendor/src/github.com/DroiTaipei/mongo/access.go:300 +0x5b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BulkInsert (ctx droictx.Context, collection string, documents []interface{}) | |
CollectionCount (ctx droictx.Context, collection string) | |
CreateCollection (ctx droictx.Context, collection string, info *mgo.CollectionInfo) | |
CreateIndex (ctx droictx.Context, collection string, key []string, sparse, unique bool, name string) | |
DBRun (ctx droictx.Context, cmd interface{}, result interface{}) | |
DropCollection (ctx droictx.Context, collection string) | |
DropIndex (ctx droictx.Context, collection string, keys []string) | |
EnsureIndex (ctx droictx.Context, collection string, index mgo.Index) | |
GetCollectionNames (ctx droictx.Context) | |
Indexes (ctx droictx.Context, collection string) |
I hereby claim:
- I am gosharplite on github.
- I am gosharplite (https://keybase.io/gosharplite) on keybase.
- I have a public key whose fingerprint is 74D6 E3D8 83C0 5E78 BAC2 DF9C 2313 C6FA E1A3 1BE5
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For linkerd. |