Skip to content

[Bug]: temporary-table ALTER loses auto-increment metadata in Compose+Proxy BVT #28352

Description

@gouhongshen

Existing issue

  • I have checked the existing issues.

Branch Name

main

Commit ID

7d0f7be

Other Environment Information

Actual Behavior

test/distributed/cases/temporary/temporary_table_limitation.sql failed 16 of 137 assertions. The first failing statement, alter table temp_alter_column add column extra int default 7;, returned:

internal error: incrservice: expected one auto-increment column at index 0 for table 331122, found 0 rows

The subsequent ALTER and result assertions cascaded, including a leaked-copy-table count of 4.

Expected Behavior

ALTER operations on temporary tables with an auto-increment column succeed and preserve the expected schema and rows.

Steps to Reproduce

  1. Build commit 7d0f7be641095dcc45739d4dbbc1eb21f0994c54.
  2. Run the multi-CN Compose+Proxy BVT suite.
  3. Observe temporary_table_limitation.sql at row 120.

Additional information

The same PR diff changes only four pkg/fileservice/*_test.go files for object-storage test isolation; it does not modify temporary tables, incrementation service, distributed BVT cases, or CI workflow definitions. The coverage job failure is downstream: coverage merge was skipped because this BVT producer failed.

Activity

  1. added
    kind/bug
    on Sep 7, 2026
  2. self-assigned this
    on Sep 7, 2026
  3. gouhongshen commented on Sep 7, 2026

    @gouhongshen
    ContributorAuthor

    Recurrence on PR #28272 at head 9fd92cd87b675eb539afec0a7b3a12720f625cc3:

    PR #28272 changes pkg/sql/compile/ddl.go only in Scope.CreateDatabase to pass a typed database marker; it does not modify temporary-table ALTER, auto-increment metadata, proxy session routing, this BVT case, or CI. The parallel Compose pessimistic BVT passed.

  4. added
    severity/s0
    ai-easy
    and removed on Sep 7, 2026
  5. gouhongshen commented on Sep 7, 2026

    @gouhongshen
    ContributorAuthor

    Repeated CI evidence: workflow run 34124295799 attempt 2 also failed in Matrixone Compose CI / multi cn e2e bvt test docker compose(PROXY).

    The workflow is already at attempt 2, so it was not rerun again.

  6. gouhongshen commented on Sep 7, 2026

    @gouhongshen
    ContributorAuthor

    PR #28272 repeat confirmed on workflow run 34125092777, attempt 2:

    This is the second attempt for the run, so it was not rerun again.

  7. XuPeng-SH commented on Sep 7, 2026

    @XuPeng-SH
    Contributor

    introduced by #28324

  8. gouhongshen commented on Sep 7, 2026

    @gouhongshen
    ContributorAuthor

    Repeated CI evidence from PR #28325, workflow run 34130861091 attempt 2:

    PR #28325 changes only frontend clone/data-branch admission and their tests. Its diff against main does not modify temporary-table ALTER, increment service, this BVT case, or CI; the BVT file is byte-identical to main (sha256 ee2862a2bcadad9ba5893283f1145709d76149c098be075af552061abce85b86). The workflow is already at attempt 2, so it was not rerun again.

  9. added a commit that references this issue on Sep 7, 2026
    fdc1e0c
  10. added 6 commits that reference this issue on Sep 17, 2026
    77327ed
    8f534a1
    4e32614
    ce8e834
    75b7943
    7ce8398
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ai-easykind/bugseverity/s0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions