We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab56271 commit 4e80374Copy full SHA for 4e80374
chasm/tree.go
@@ -1184,7 +1184,7 @@ func unmarshalProto(
1184
1185
value := reflect.New(valueT.Elem())
1186
1187
- if dataBlob == nil {
+ if dataBlob == nil || len(dataBlob.Data) == 0 {
1188
// If the original data is the zero value of its type, the dataBlob loaded from persistence layer will be nil.
1189
// But we know for component & data nodes, they won't get persisted in the first place if there's no data,
1190
// so it must be a zero value.
0 commit comments