Files
doris/be/test/olap/test_data/rowset_meta3.json
walter afcc6170f6 [fix](txn_manager) Add ingested rowsets to unused rowsets when removing txn (#37417)
Generally speaking, as long as a rowset has a version, it can be
considered not to be in a pending state. However, if the rowset was
created through ingesting binlogs, it will have a version but should
still be considered in a pending state because the ingesting txn has not
yet been committed.

This PR updates the condition for determining the pending state. If a
rowset is COMMITTED, the txn should be allowed to roll back even if a
version exists.

Cherry-pick #36551
2024-07-10 14:25:44 +08:00

23 lines
502 B
JSON

{
"rowset_id": 10002,
"partition_id": 10001,
"tablet_id": 12046,
"tablet_schema_hash": 365187263,
"rowset_type": "BETA_ROWSET",
"rowset_state": "COMMITTED",
"start_version": 0,
"end_version": 1,
"num_rows": 0,
"total_disk_size": 0,
"data_disk_size": 0,
"index_disk_size": 0,
"empty": true,
"creation_time": 1552911435,
"tablet_uid": {
"hi": 10,
"lo": 10
},
"num_segments": 1,
"has_variant_type_in_schema": false
}