oceanbase / oceanbase/obshell

[Bug]: dashboard Online duration is displayed as negative time.

Open
#20 2 comments 0 reactions 1 assignee View on GitHub

@Junkrat77 is already working on this.

Since Dec 4, 2025.

bug
Dominant language
Go
Stars
9
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

dashboard Online duration is displayed as negative time.

Environment

  • OS Version and CPU Arch(uname -a):
    Linux localhost.localdomain 6.12.0-1.23.3.2.el9uek.x86_64 oceanbase/seekdb#1 SMP PREEMPT_DYNAMIC Tue May 13 17:24:00 PDT 2025 x86_64 x86_64 x86_64 GNU/Linux

  • OB Version(LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./observer -V):
    observer (OceanBase SeekDB 1.0.0.0)
    REVISION: 100000262025111218-5343637512e28c346f938516af53b7879d4d5974

OBShell 4.3.3.0 (for OceanBase_CE)
REVISION: 12025110521-096c1eb4aa9798f07d63ff729f1cc5c024c3f08e

  • Hardware resource(cpu core/memory size/disk hardware):

Fast Reproduce Steps(Required)

  1. Log in to the obshell dashboard.
  2. Check the Startup Time and Online Duration. The Startup Time is displayed as a future time, and the Online Duration is displayed as negative time.

Steps to reproduce the behavior:

Expected behavior

Actual Behavior

Online Duration-7h32m7s --

Additional context

seekdb for docker

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.