[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Versioning and data files

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Jun 23 19:36:15 EDT 2009


I think we should  have some sort of version check on data files.

As I'm changing the data format now on Beta3, I believe we should have a version check and throw a warning/exception if the user uses the same data files between two distinct versions.

I'm thinking about a versionID as an integer on the datafiles. Every time I change the format I increase the ID and would throw an exception if that's the case.

Eventually later we would be able to add a feature performing different load operations if a different version. (say if a data file belongs to an older version we would be able to load accordingly)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239573#4239573

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239573



More information about the jboss-dev-forums mailing list