dCache/dcache — pull request #63 by alrossi (2013-05-21 19:38:06+00:00)
Title: dcache: billing -- fix error in liquibase varchar changeset

version of http://rb.dcache.org/r/5555 for dCache 2.2

module: dcache

The liquibase changeset 4.1.7 was discovered to contain an off-by-one error in the string used to test the condition for changing the varchar length in the billing tables (the actual length of the string was 256, not 257). As a result, 4.1.7. 4.1.8 and 4.1.9 never will run, and all billing installations created by liquibase (which hardcodes the default to 256) remained as such.

The reason for the requested change was that the path and errormessage attributes of certain tables can well exceed 256.

The new changesets correct the error.

Target: 2.2
Patch: http://rb.dcache.org/r/5559
Require-book: no
Require-notes: yes
Acked-by: Dmitry

RELEASE	NOTES:	Fix string lengths in billing databse tables. Tables created automatically contained character columns limited to 256 which is too restrictive for path and errormessage columns in billinginfo, doorinfo and storageinfo tables. Additionaly, the length of pnfsid string was limited to 36.
A previous patch designed to address this issue failed to so.]