skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

[Bug] Wrong belong operation

Open hanahmily opened this issue 2 years ago • 0 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component

BanyanDB (apache/skywalking-banyandb)

What happened

According to https://github.com/apache/skywalking-banyandb/pull/170#pullrequestreview-1111537502, the BelongTo methods take "other" as the superset mistakenly. The correct superset should be the current receiver.

What you expected to happen

The correct behavior should be that {a, b} belongs to {a, b, c}.

How to reproduce

Using "having" to write a test case to produce this.

Anything else

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

hanahmily avatar Sep 19 '22 02:09 hanahmily