This is an automated email from the ASF dual-hosted git repository.

hanahmily pushed a commit to branch index
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git

commit dbc21e88f94e2201e9800d5037501351a152f281
Merge: 867d60c0 ba0d71d6
Author: Gao Hongtao <hanahm...@gmail.com>
AuthorDate: Wed Nov 13 08:45:44 2024 +0800

    Merge remote-tracking branch 'origin/main' into index

 CHANGES.md                                         |  2 +
 dist/LICENSE                                       | 10 ++---
 ...uge.txt => license-github.com-SkyAPM-bluge.txt} |  0
 ...s-ice.txt => license-github.com-SkyAPM-ice.txt} |  0
 go.mod                                             |  2 +-
 go.sum                                             |  2 +
 pkg/index/inverted/inverted_series.go              | 10 ++++-
 pkg/index/inverted/inverted_series_test.go         | 48 +++++++++++-----------
 test/stress/istio/istio_suite_test.go              | 44 ++++++++++++--------
 9 files changed, 69 insertions(+), 49 deletions(-)

diff --cc go.sum
index a8a567a4,0d9c71db..d833ec3d
--- a/go.sum
+++ b/go.sum
@@@ -6,8 -6,8 +6,10 @@@ github.com/OneOfOne/xxhash v1.2.2/go.mo
  github.com/RoaringBitmap/roaring v0.9.4/go.mod 
h1:icnadbWcNyfEHlYdr+tDlOTih1Bf/h+rzPpv4sbomAA=
  github.com/RoaringBitmap/roaring v1.9.4 
h1:yhEIoH4YezLYT04s1nHehNO64EKFTop/wBhxv2QzDdQ=
  github.com/RoaringBitmap/roaring v1.9.4/go.mod 
h1:6AXUsoIEzDTFFQCe1RbGA6uFONMhvejWj5rqITANK90=
 +github.com/SkyAPM/bluge v0.0.0-20241110125856-046bc03b30ab 
h1:iCQVR0hi6Kd4Pzh/QDHrBIK8TDTKzwEEzrYhdvqoPRg=
 +github.com/SkyAPM/bluge v0.0.0-20241110125856-046bc03b30ab/go.mod 
h1:6o9wC3xO3qb5Q7VmD1x0r54qQBDpO9+ghGAQvuOHsCU=
+ github.com/SkyAPM/bluge v0.0.0-20241111124917-c317df1af201 
h1:QX/WvtL8j5Zrbs68EVEiOE2nFQSvoT5oTkOFh2uNSpg=
+ github.com/SkyAPM/bluge v0.0.0-20241111124917-c317df1af201/go.mod 
h1:6o9wC3xO3qb5Q7VmD1x0r54qQBDpO9+ghGAQvuOHsCU=
  github.com/SkyAPM/clock v1.3.1-0.20220809233656-dc7607c94a97 
h1:FKuhJ+6n/DHspGeLleeNbziWnKr9gHKYN4q7NcoCp4s=
  github.com/SkyAPM/clock v1.3.1-0.20220809233656-dc7607c94a97/go.mod 
h1:2xGRl9H1pllhxTbEGO1W3gDkip8P9GQaHPni/wpdR44=
  github.com/SkyAPM/ice v0.0.0-20241108011032-c3d8eea75118 
h1:Ja62sgOCp2qPTd8Xmldv1U83v11IRIsh6KlB7UaFLj4=
diff --cc pkg/index/inverted/inverted_series.go
index 10c7718c,9d0b15ed..dcb8b3ed
--- a/pkg/index/inverted/inverted_series.go
+++ b/pkg/index/inverted/inverted_series.go
@@@ -140,6 -144,6 +144,10 @@@ func (s *store) Search(ctx context.Cont
                return nil, err
        }
        defer func() {
++              if err := recover(); err != nil {
++                      _ = reader.Close()
++                      panic(err)
++              }
                if err := recover(); err != nil {
                        _ = reader.Close()
                        panic(err)

Reply via email to