-
It is not always possible to inform the user as ie. sender may not be in our roster (ie. spammer) and we do not want to inform him that that account exists.
The issue is caused by usage of
text
as a field type, which has a limit of 64KB and that is MySQL specific (I hate restrictions imposed on ANSI types!). Most likely we should hange it tomediumtext
(16MB - bigger than allowed size of a single stanza) orlongtext
(4GB).Note to self: The same issue may apply to updated PubSub schema and needs to be evaluated!
@wojtek Should we use
mediumtext
? -
I've changed data types for
body
andmsg
columns fromtext
tomediumtext
and updated procedures to match this new type in message archiving component and in unified archive component (both we using those fields).I've also reviewed PubSub schema as there were recent changes and found an issue with PubSub node creation procedure, which I've fixed as well.
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.2.0
|
It's not possible to store large messages (in the notification it was roughly 200K) and exception is thrown.
Obviously this is not ideal and leads to data loss and we should somehow handle it. The most straightforward solution would be probably changing column type. However I think that we also should impose some sort of limitations to avoid archiving who knows what (and maybe gracefully inform user that sent message was not archived?).