diff --git a/pkg/proc/interaction.go b/pkg/proc/interaction.go index c821730..591ec49 100644 --- a/pkg/proc/interaction.go +++ b/pkg/proc/interaction.go @@ -96,7 +96,7 @@ func ProcessPutExtended( }() for _, s := range settings { - ylogger.Zero.Debug().Str("name", s.Name).Str("value", s.Value).Msg("offloadng setting") + ylogger.Zero.Debug().Str("name", name).Str("name", s.Name).Str("value", s.Value).Msg("offloading setting") } /* Should go after reader dispatch! */ @@ -191,6 +191,8 @@ func ProcConn(s storage.StorageInteractor, cr crypt.Crypter, ycl client.YproxyCl msg := message.PutMessageV2{} msg.Decode(body) + // ylogger.Zero.Debug().Bytes("msg", body).Msg("log info") + if err := ProcessPutExtended(s, pr, msg.Name, msg.Encrypt, msg.Settings, cr, ycl); err != nil { return err } diff --git a/pkg/tablespace/tablespace.go b/pkg/tablespace/tablespace.go index 4fe80c2..684e2a5 100644 --- a/pkg/tablespace/tablespace.go +++ b/pkg/tablespace/tablespace.go @@ -1,3 +1,3 @@ package tablespace -const DefaultTableSpace = "BASE" +const DefaultTableSpace = "pg_default"