Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Commits
f7dadd46
Commit
f7dadd46
authored
5 years ago
by
Vivek Naik
Browse files
Options
Downloads
Patches
Plain Diff
fix: fail to write fdb index lazily
parent
05fbb9fd
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!125
Mep release 7 nov
,
!122
fix: fail to write fdb index lazily
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dalmdl/corefdb/bucket.go
+5
-8
dalmdl/corefdb/bucket.go
with
5 additions
and
8 deletions
dalmdl/corefdb/bucket.go
+
5
−
8
View file @
f7dadd46
...
...
@@ -1777,14 +1777,11 @@ func SaveDataInFDB(dbName, indexID string, rs *gjson.Result) error {
}
return
nil
})
if
bucket
.
BucketType
!=
BucketTypePack
{
// TODO: Currently index data is overwritten by new data.
err
=
UpdateIndexLazyObjectInCache
(
indexID
,
index
)
if
err
!=
nil
{
loggermdl
.
LogError
(
"failed to update index data in lazy writer cache - "
,
err
)
return
errormdl
.
Wrap
(
"failed to update index data in lazy writer cache"
)
}
// TODO: Currently index data is overwritten by new data.
err
=
UpdateIndexLazyObjectInCache
(
indexID
,
index
)
if
err
!=
nil
{
loggermdl
.
LogError
(
"failed to update index data in lazy writer cache - "
,
err
)
return
errormdl
.
Wrap
(
"failed to update index data in lazy writer cache"
)
}
return
nil
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets