zonemaster / zonemaster-backend

The Zonemaster Backend - part of the Zonemaster project
Other
14 stars 23 forks source link

New batch id format #1154

Open mattias-p opened 9 months ago

mattias-p commented 9 months ago

Historically the batch feature was intended for strictly internal use but this changes with #1153. Today the format of the batch id is just an integer and new batch ids are generated using a counter. We should introduce a new batch id format to be used in the new API. The new format should use some kind of tokens similar to job ids. It would probabaly be nice if its easy to distinguish between a job id and a batch id.

Once add_batch_job is removed we should also migrate all existing batches using the old batch id format to new ids in the new format.

Stabilization

Tracking issue

Affected interfaces

Incompatibly changed:

Compatibly changed:

Dependencies

None

Overlapping proposals

None