xy720 opened a new issue #6206: URL: https://github.com/apache/incubator-doris/issues/6206
At present, our image file does not have a file header. When we need to change the image format (such as adding different journal versions to the image), there is no way to distinguish different image formats. Therefore, I suggest adding a file header to the image. The format of the header is as follows: ``` |---------------------------------| | - Magic String (4 bytes) | | |-----------------------------| | | | Json Header | | | | - version | | | | - other key/value(undecided)| | | |-----------------------------| | | Image Body | | ... | |---------------------------------| ``` One image format is identified by one magic string and one version field. Through the image format, we can freely distinguish and modifying the image reading mode. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org