makssent commented on issue #33782: URL: https://github.com/apache/shardingsphere/issues/33782#issuecomment-2525058664
When attempting to use the `firebird-testcontainers` library from [this repository]([https://github.com/FirebirdSQL/firebird-testcontainers-java](https://vk.com/away.php?utf=1&to=https%3A%2F%2Fgithub.com%2FFirebirdSQL%2Ffirebird-testcontainers-java)) with Firebird and ShardingSphere, the following error occurred: > unsupported on-disk structure for file /firebird/data/TEST1.FDB; found 24588.3, support 12.2 According to the article on [[qa.loginom.ru](https://vk.com/away.php?utf=1&to=http%3A%2F%2Fqa.loginom.ru)]([https://qa.loginom.ru/103/oshibka-podklyucheniya-bazy-firebird-unsupported-structure](https://vk.com/away.php?utf=1&to=https%3A%2F%2Fqa.loginom.ru%2F103%2Foshibka-podklyucheniya-bazy-firebird-unsupported-structure)), The error indicates that the library is incompatible with the current version of Firebird. The firebird-testcontainers library was designed to work with Firebird versions up to 2.5 and their corresponding On-Disk Structure (ODS) formats. However, starting from Firebird 3.0, significant changes were introduced to the database structure, including new ODS versions, which the library does not support. Since the library has not been updated to account for these changes, it cannot function with Firebird 3.0 or newer versions. Additional Context: The article [Firebird FAQ - FAQ #80](https://firebirdfaq.org/faq80/) discusses a similar problem. It provides instructions for extracting data from an old database using tools like gbak and migrating it to a newer Firebird version. While these methods can help recover and migrate data, they do not resolve the core issue with the outdated library. Due to its reliance on older ODS versions, the firebird-testcontainers library cannot be used with Firebird 3.0+ in test containers, even if the database is migrated. **Conclusion:** The firebird-testcontainers library is outdated and does not support Firebird 3.0 or later versions. As a result, it is incompatible with modern Firebird configurations and cannot be used for our work. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
