[Buildbot-commits] [Buildbot] #2557: regression: changes with long comments break the p4 poller against mysql

Buildbot trac trac at buildbot.net
Thu Aug 29 07:46:44 UTC 2013


#2557: regression: changes with long comments break the p4 poller against mysql
--------------------+-----------------------
Reporter:  dberger  |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.8    |   Keywords:
--------------------+-----------------------
 we use mysql, and perforce, and while working to upgrade discovered that
 if a developer put in a change comment longer than 1k, the poller would
 throw while attempting to add the change to the database and effectively
 get stuck on that change (never moving past it).

 I've added a config option that warns (in the log) that truncation of the
 string will occur, but allows mysql to truncate the data to fit in the
 column.

 I've worked around this by adding a config option to warn (rather than
 throw) in this scenario, it's not the only way to solve the problem, but
 I'm attaching it for reference.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2557>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list