mysql> describe report_logs;
+-----------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| report_id | int(11) | NO | MUL | NULL | |
| level | varchar(255) | YES | | NULL | |
| message | blob | YES | | NULL | |
| source | text | YES | | NULL | |
| tags | text | YES | | NULL | |
| time | datetime | YES | | NULL | |
| file | text | YES | | NULL | |
| line | int(11) | YES | | NULL | |
+-----------+--------------+------+-----+---------+----------------+
9 rows in set (0.00 sec)
mysql> ALTER TABLE report_logs MODIFY message VARCHAR(65536);
Query OK, 46574 rows affected, 2 warnings (0.97 sec)
Records: 46574 Duplicates: 0 Warnings: 2
mysql> describe report_logs;
+-----------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| report_id | int(11) | NO | MUL | NULL | |
| level | varchar(255) | YES | | NULL | |
| message | mediumtext | YES | | NULL | |
| source | text | YES | | NULL | |
| tags | text | YES | | NULL | |
| time | datetime | YES | | NULL | |
| file | text | YES | | NULL | |
| line | int(11) | YES | | NULL | |
+-----------+--------------+------+-----+---------+----------------+
9 rows in set (0.00 sec)
mysql>
For now, everything is working as expected. We will see in a few days, or after puppetdb Upgrade.
X.