Skip to content

[Bug]: mo_sessions should display idle for idle session #11976

Closed

Description

@fengttt

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93): main
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

select * from mo_catalog.mo_sessions

For those idle session -- no active query, no active transaction, we still print out a query/statement (I assume it is the previous one). We should display it as idle.

There is no need to be accurate, meaning that if a query may become idle when the we query mo_sessions, in that case, it may or may not be displayed as idle -- this is fine. However, for a session that has been idle for a while we should be able to tell that.

Expected Behavior

No response

Steps to Reproduce

No response

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s0
    on Oct 5, 2023
  2. added this to the 1.0.0 milestone on Oct 5, 2023
  3. modified the milestones: 1.0.0, 1.1.0 on Oct 7, 2023
  4. daviszhen commented on Oct 7, 2023

    @daviszhen
    Contributor

    还没看

  5. daviszhen commented on Oct 9, 2023

    @daviszhen
    Contributor

    还没看

  6. daviszhen commented on Oct 11, 2023

    @daviszhen
    Contributor

    还没看

  7. daviszhen commented on Oct 13, 2023

    @daviszhen
    Contributor

    还没看

  8. daviszhen commented on Oct 16, 2023

    @daviszhen
    Contributor

    还没看

  9. daviszhen commented on Oct 18, 2023

    @daviszhen
    Contributor

    还没看

  10. daviszhen commented on Oct 19, 2023

    @daviszhen
    Contributor

    it was fixed.

  11. fengttt commented on Oct 19, 2023

    @fengttt
    ContributorAuthor

    Not so fast yet, the transaction id field is still filled -- I suppose that is a closed transaction.

  12. fengttt commented on Oct 20, 2023

    @fengttt
    ContributorAuthor

    my mistake. seems transaction id is cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions