Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSM arrayCursorIterator some cursors statistics are getting excluded from Stats() #15732

Closed
GeorgeMac opened this issue Nov 4, 2019 · 0 comments · Fixed by #15731
Closed

Comments

@GeorgeMac
Copy link
Contributor

Steps to reproduce:

See the failing test for the first commit here #15731

Expected behavior:

Stats returned by array cursor iterator should be one of (I am unsure of the desired behavior):

  • The accumulated stats for all observed cursors
  • The current in-focus cursor (I have assumed this one so far)

Actual behavior:

Stats() switches over its known set of instantiated cursors in a arbitrary order:

  • float
  • int
  • uint
  • boolean
  • string

Going down the list it adds the first non-nil of these cursor types.

It does this for both acending and descending and its sums the two stats (one for asc and one for desc).

Environment info:

N/A see failing test in assocated PR

Config:

N/A

@GeorgeMac GeorgeMac changed the title TSM array cursor iterator statistics getting shadowed TSM arrayCursorIterator some cursors statistics are getting excluded from Stats() Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant