mirror of
https://github.com/apache/doris.git
synced 2026-11-04 07:31:17 +00:00
Remove the single replica compaction (SRC) feature end-to-end across BE, FE and regression tests. Doc: https://github.com/apache/doris-website/pull/3870 ### Why remove it The main reason is **correctness risk in peer selection**. A follower replica had to pick a peer holding a "proper" version (`_find_rowset_to_fetch`) and fetch its compacted result, based on replica info that was only refreshed periodically. Because replicas progress through versions independently and this "leader" selection ran against a stale, time-sensitive view of the cluster, the hoice of which peer to fetch from — and which version — was racy and could select a peer whose state no longer matched, leading to subtle inconsistencies.
Usage
These scripts are used to make coffee-bench test. follow the steps below:
1. create tables. modify conf/doris-cluster.conf to specify doris info, then run script below.
./bin/create-tables.sh
2. load coffee-bench data. use -s for scale. "500m/1b/5b"
./bin/load-data.sh -s 500m
**Note: The data loading process uses S3 data located in the US East (us-east-1) region.**
If you cannot access this region due to network restrictions or other reasons, you can:
1. Use AWS CLI to copy the data to an S3 bucket in your preferred region
2. Download the data locally and use alternative methods to import it into Doris
3. run queries.
./bin/run-queries.sh
NOTICE: At present, we rewrite some queries in coffee bench to adapt to Doris' execution framework, but it does not affect the correctness of the results.