-
[NA][BE] introduce processing state for datasets (#4153)
发布于
2025-11-26 06:29:01 +00:00 -
introduce processing state
-
fix tests
-
Revision 2: Address PR review comments
- Change fromString to throw IllegalArgumentException instead of defaulting to COMPLETED
- Simplify updateProcessingStatus logic for better readability
- Revision 3: Address PR review feedback
- Rename DatasetProcessingStatus to DatasetStatus
- Rename processingStatus field to status
- Remove IDLE state (keeping only PROCESSING, COMPLETED, FAILED)
- Use equalsIgnoreCase in fromString for better deserialization
- Change orElseThrow back to orElse(COMPLETED) for backward compatibility
- Improve log message to distinguish 'not found' from real failures
- Update migration SQL to reflect status column name and removed idle value
- Update all method names from updateProcessingStatus to updateStatus
- PR comments
下载附件
-