more logging in topology

This commit is contained in:
Todd Gruben 2014-06-23 17:23:41 -05:00
parent e0e574f8d9
commit b3b8c3bc4f
2 changed files with 2 additions and 2 deletions

View file

@ -334,7 +334,7 @@ func (d *Database) GetFragmentForBitmap(slice *Slice, bitmap *Bitmap) (*Fragment
}
frag_id_s, err := fsi.hashring.Get(fmt.Sprintf("%d", bitmap.Id))
if err != nil {
log.Println("ERROR FSI.GET:", bitmap.Id, bitmap.FrameType, frame, slice)
log.Println("ERROR FSI.GET:", bitmap.Id, bitmap.FrameType, d.Name, frame, slice)
log.Println(err)
return nil, err
}

View file

@ -144,7 +144,7 @@ func (self *TcpTransport) listen() {
}
func (self *TcpTransport) manage(conn *net.Conn) {
con := &connection{self, make(chan *db.Message, 100), make(chan *db.Message, 100), conn, nil}
con := &connection{self, make(chan *db.Message, 1024), make(chan *db.Message, 1024), conn, nil}
con.manage()
}