Skip to content

FLASH-143: Enable CI tests - #7

Merged
zanmato1984 merged 9 commits into
raftfrom
raft-ci-tests
Mar 6, 2019
Merged

FLASH-143: Enable CI tests#7
zanmato1984 merged 9 commits into
raftfrom
raft-ci-tests

Conversation

@zanmato1984

Copy link
Copy Markdown
Contributor

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

This PR:

  1. Moves mutable tests from tiflash to tics project;
  2. Some modification to tics docker image to satisfy running tests;
  3. Add scripts to run tests within tics docker container (which should be built in the upper pipeline of CI build).

@innerr innerr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@zyguan

zyguan commented Mar 6, 2019

Copy link
Copy Markdown
Contributor

/run-integration-tests

@zanmato1984

Copy link
Copy Markdown
Contributor Author

/run-integration-tests

1 similar comment
@zanmato1984

Copy link
Copy Markdown
Contributor Author

/run-integration-tests

@zanmato1984
zanmato1984 merged commit 736e072 into raft Mar 6, 2019
@zanmato1984
zanmato1984 deleted the raft-ci-tests branch March 6, 2019 16:03
windtalker added a commit to windtalker/tiflash that referenced this pull request Mar 6, 2023
* save work

Signed-off-by: xufei <xufei@pingcap.com>

* Update dbms/src/Interpreters/Join.cpp

Co-authored-by: Meng Xin <tregoldmeng@gmail.com>

---------

Signed-off-by: xufei <xufei@pingcap.com>
Co-authored-by: Meng Xin <tregoldmeng@gmail.com>
zanmato1984 added a commit that referenced this pull request Apr 7, 2026
Role: Coder-R139: add donor host-v2 inner-hash-join parity entrypoint
devin-ai-integration Bot added a commit to 6si/tiflash that referenced this pull request Jun 25, 2026
… handle ColumnDictionary source

Bug pingcap#7 (G2 crash): ColumnString::insertSelectiveRangeFrom did an unchecked
static_cast<const ColumnString&> on the source column. When the source is
ColumnDictionary (from late materialization in DMFileReader), this reads
garbage offsets and computes ~8 EiB allocation -> mmap failure.

Fix: Add isDictionaryEncoded() check at the start of insertFrom,
insertManyFrom, and insertSelectiveRangeFrom. If source is ColumnDictionary,
materialize via convertToFullColumnIfDictionary() before proceeding.
This is the same pattern already used in insertRangeFrom.

The fix is defensive — it catches ALL call sites that pass ColumnDictionary
to ColumnString insert methods, regardless of whether the caller remembered
to materialize first.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants