This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a change to branch cve
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
from f6271a0 Fix CVE-2022-32149
add e04847f Add a Closer to manage the closing phase (#210)
add c8bedd1 Merge branch 'main' into cve
No new revisions were added by this update.
Summary of changes:
.gitignore | 6 +++
banyand/tsdb/block.go | 51 ++++-------------------
banyand/tsdb/bucket/bucket.go | 32 ++++++++++-----
banyand/tsdb/bucket/queue.go | 10 +++--
banyand/tsdb/bucket/queue_test.go | 15 +++++--
banyand/tsdb/bucket/strategy.go | 36 ++++++++++++----
banyand/tsdb/bucket/strategy_test.go | 4 +-
banyand/tsdb/metric.go | 3 +-
banyand/tsdb/retention.go | 27 ++++--------
banyand/tsdb/segment.go | 40 ++++++++++--------
banyand/tsdb/shard.go | 25 ++++++++----
pkg/index/index.go | 2 -
pkg/index/inverted/inverted.go | 5 ---
pkg/index/lsm/lsm.go | 4 --
pkg/run/closer.go | 79 ++++++++++++++++++++++++++++++++++++
15 files changed, 210 insertions(+), 129 deletions(-)
create mode 100644 pkg/run/closer.go