Skip to content

Use CONSUMING and COMPLETED as Pinot Realtime Segment status enum for consistency #6777

@chenboat

Description

@chenboat

Today the Enum values used in realtime segment status are IN_PROGRESS and DONE.

https://github.com/apache/incubator-pinot/blob/e9170aa8e61a00032f036d6e56bf21f6bebef1e6/pinot-common/src/main/java/org/apache/pinot/common/utils/CommonConstants.java#L392

They are inconsistent with usages elsewhere in the code base where CONSUMING is used for IN_PROGESS and COMPLETED is used for DONE.

We should deprecate IN_PROGRESS and DONE and used CONSUMING and COMPLETED instead in the new code.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions