aboutsummaryrefslogtreecommitdiff
path: root/weed/admin/dash/admin_server.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/admin/dash/admin_server.go')
-rw-r--r--weed/admin/dash/admin_server.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/admin/dash/admin_server.go b/weed/admin/dash/admin_server.go
index 3f135ee1b..4a1dd592f 100644
--- a/weed/admin/dash/admin_server.go
+++ b/weed/admin/dash/admin_server.go
@@ -1766,8 +1766,9 @@ func (s *AdminServer) UpdateTopicRetention(namespace, name string, enabled bool,
},
// Preserve existing partition count - this is critical!
PartitionCount: currentConfig.PartitionCount,
- // Preserve existing record type if it exists
- RecordType: currentConfig.RecordType,
+ // Preserve existing schema if it exists
+ MessageRecordType: currentConfig.MessageRecordType,
+ KeyColumns: currentConfig.KeyColumns,
}
// Update only the retention configuration