Missing "Database Name" in Memory Cache Key

5 views
Skip to first unread message

Dmitry A.

unread,
Mar 31, 2011, 12:05:21 PM3/31/11
to in-port...@googlegroups.com
Back in In-Portal 5.1.1 we have introduced the improvements to Memory Cache Key when separate memory cache was used for each developer. Original discussion for that was Separate memory cache for each developer .

Looks like we have missed to add the Database Name to the equation for that Key which lead to the problem when multiple developers started to share the same Cache settings.

The fix is pretty simple - add the DB name to the key string.

Here is a new task for this:


1028: Missing "Database Name" in Memory Cache Key



DA

Alexander Obuhovich

unread,
Mar 31, 2011, 2:08:58 PM3/31/11
to in-port...@googlegroups.com
It's good, that we have noticed that in time. That means, that such functionality is used enough to spot an error.


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.



--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Apr 3, 2011, 12:41:29 PM4/3/11
to in-port...@googlegroups.com
Here is a patch for review.



DA
Missing-Database-Name-in-Memory-Cache-Key.patch

Alexander Obuhovich

unread,
Apr 3, 2011, 12:43:22 PM4/3/11
to in-port...@googlegroups.com
I guess you need to add separator between table prefix and database name.


On Sun, Apr 3, 2011 at 7:41 PM, Dmitry A. <dand...@gmail.com> wrote:
Here is a patch for review.



DA

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Dmitry A.

unread,
Apr 3, 2011, 12:50:58 PM4/3/11
to in-port...@googlegroups.com
Thanks for a hint - added a separator!

New patch attached.


DA
Missing-Database-Name-in-Memory-Cache-Key.patch
Reply all
Reply to author
Forward
0 new messages