Skip to content

refactor(timezone): checkTime in dnode and mnode implementations and timetruncate logic for interval (3.3.6 branch)#35058

Merged
guanshengliang merged 17 commits into3.3.6from
fix/3.3.6/tz
Apr 15, 2026
Merged

refactor(timezone): checkTime in dnode and mnode implementations and timetruncate logic for interval (3.3.6 branch)#35058
guanshengliang merged 17 commits into3.3.6from
fix/3.3.6/tz

Conversation

@Tony2h
Copy link
Copy Markdown
Member

@Tony2h Tony2h commented Apr 3, 2026

Description

Issue(s)

  • Close/close/Fix/fix/Resolve/resolve: Issue Link

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

Copilot AI review requested due to automatic review settings April 3, 2026 07:34
gemini-code-assist[bot]

This comment was marked as outdated.

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings April 8, 2026 02:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 11 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/os/src/osTimezone.c Outdated
Comment thread source/common/src/ttime.c Outdated
return ts;
}

int32_t code = 0;
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

int32_t code = 0; in taosTimeTruncate is unused, which will trigger -Wunused-variable warnings (and may fail the build if warnings are treated as errors). Remove it or use it for actual error propagation.

Suggested change
int32_t code = 0;

Copilot uses AI. Check for mistakes.
Comment thread source/common/test/commonTests.cpp
Comment thread source/common/test/commonTests.cpp
Comment thread source/dnode/mgmt/mgmt_dnode/src/dmHandle.c Outdated
Comment thread include/os/osTimezone.h Outdated
Comment thread source/common/test/commonTests.cpp
Copilot AI review requested due to automatic review settings April 9, 2026 01:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/common/src/ttime.c Outdated
Comment thread source/dnode/mnode/impl/src/mndDnode.c Outdated
Comment thread source/dnode/mnode/impl/src/mndDnode.c Outdated
Comment thread include/common/tmsg.h
Comment thread source/common/test/commonTests.cpp
Comment thread source/common/test/commonTests.cpp
Comment thread source/os/src/osTimezone.c Outdated
@Tony2h Tony2h changed the title refactor(timezone): standardize checkTime initialization to 0 across dnode and mnode implementations refactor(timezone): checkTime in dnode and mnode implementations and timetruncate logic for interval Apr 9, 2026
@Tony2h Tony2h changed the title refactor(timezone): checkTime in dnode and mnode implementations and timetruncate logic for interval refactor(timezone): checkTime in dnode and mnode implementations and timetruncate logic for interval (3.3.6 branch) Apr 9, 2026
Copilot AI review requested due to automatic review settings April 9, 2026 06:56
@Tony2h Tony2h requested a review from zitsen as a code owner April 9, 2026 06:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/common/test/commonTests.cpp
Comment thread source/common/test/commonTests.cpp
Comment thread source/dnode/mnode/impl/src/mndDnode.c Outdated
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
@taosdata taosdata deleted a comment from gemini-code-assist bot Apr 10, 2026
@taosdata taosdata deleted a comment from gemini-code-assist bot Apr 10, 2026
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
@taosdata taosdata deleted a comment from Copilot AI Apr 10, 2026
Copilot AI review requested due to automatic review settings April 10, 2026 06:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/dnode/mgmt/mgmt_dnode/src/dmHandle.c
Comment thread source/os/src/osTimezone.c Outdated
Copilot AI review requested due to automatic review settings April 13, 2026 07:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/dnode/mnode/impl/src/mndDnode.c Outdated
Comment thread source/dnode/mgmt/mgmt_dnode/src/dmHandle.c
Copilot AI review requested due to automatic review settings April 14, 2026 07:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/common/src/ttime.c Outdated
Comment thread source/common/src/ttime.c Outdated
Comment thread source/dnode/mnode/impl/src/mndDnode.c Outdated
Comment thread source/common/test/commonTests.cpp
Copilot AI review requested due to automatic review settings April 14, 2026 10:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/dnode/mnode/impl/src/mndDnode.c Outdated
Comment thread source/common/src/ttime.c
Comment thread source/common/test/commonTests.cpp
Copy link
Copy Markdown
Contributor

@dapan1121 dapan1121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@guanshengliang guanshengliang merged commit 175850f into 3.3.6 Apr 15, 2026
18 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants