The GitHub Actions job "HoraeDB CI" on horaedb.git has succeeded.
Run started by GitHub user jiacai2050 (triggered by jiacai2050).

Head commit for run:
2c9cd1a1ebbd5f478cc364de29ecebf4ac492329 / kamille <[email protected]>
fix: disable layered memtable in overwrite mode (#1533)

## Rationale
Layered memtable is only designed for append mode table now, and it
shouldn't be used in overwrite mode table.

## Detailed Changes
- Make default values in config used.
- Add `enable` field to control layered memtable's on/off.
- Add check to prevent invalid options during table create/alter.
- Add related it cases.

## Test Plan
Test manually.

Following cases are considered:

Check and intercept the invalid table options during table create/alter
- enable layered memtable but mutable switch threshold is 0 
- enable layered memtable for overwrite mode table

Table options new field `layered_enable`'s default value when it is not
found in pb
- false, when whole `layered_memtable_options` not exist
- false, when `layered_memtable_options` exist, and
`mutable_segment_switch_threshold` == 0
- true, when `layered_memtable_options` exist, and
`mutable_segment_switch_threshold` > 0

Report URL: https://github.com/apache/horaedb/actions/runs/10714781350

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to