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

backport: Load DPN when the table is empty #1684

Closed
Tracked by #1661
hustjieke opened this issue May 6, 2023 · 0 comments
Closed
Tracked by #1661

backport: Load DPN when the table is empty #1684

hustjieke opened this issue May 6, 2023 · 0 comments
Assignees
Labels
A-porting back port code from 5.7/8.0 C-stonedb-8.0 associated with stonedb 8.0

Comments

@hustjieke
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

previous working issue: #964
commit id: 85a200f

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@hustjieke hustjieke added C-stonedb-8.0 associated with stonedb 8.0 A-porting back port code from 5.7/8.0 labels May 6, 2023
@hustjieke hustjieke added this to the StoneDB_8.0_v1.0.2 milestone May 6, 2023
@Double0101 Double0101 moved this from Todo to In Progress in StoneDB for MySQL 8.0 May 9, 2023
@Double0101 Double0101 self-assigned this May 9, 2023
Double0101 added a commit to Double0101/stonedb that referenced this issue May 9, 2023
Double0101 added a commit to Double0101/stonedb that referenced this issue May 10, 2023
Cause:
assert failed in function get_dpn().
When table is empty, it hasn't created a dpn and m_idx.size()=0.
Solution:
If m_idx.size()==0, return directly in (Un)lockPackFromUse function.
mergify bot pushed a commit that referenced this issue May 10, 2023
Cause:
assert failed in function get_dpn().
When table is empty, it hasn't created a dpn and m_idx.size()=0.
Solution:
If m_idx.size()==0, return directly in (Un)lockPackFromUse function.
@github-project-automation github-project-automation bot moved this from In Progress to Done in StoneDB for MySQL 8.0 May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-porting back port code from 5.7/8.0 C-stonedb-8.0 associated with stonedb 8.0
Projects
Development

No branches or pull requests

2 participants