From 132a7b553bf267da2a9eb8086f1598d17ba7670a Mon Sep 17 00:00:00 2001 From: reshke kirill Date: Mon, 26 Aug 2024 11:59:27 +0000 Subject: [PATCH] Fixes & nitpick --- pkg/proc/interaction.go | 4 +++- pkg/tablespace/tablespace.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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"