Patches item #1671120, was opened at 2007-02-28 20:40 Message generated for change (Comment added) made by miconda You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1671120&group_id=139143
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: modules >Group: ver devel >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: Herman Sheremetyev (has207) Assigned to: Daniel-Constantin Mierla (miconda) Summary: add dbtext non-caching support Initial Comment: I'm including a patch against 1.1.1 to add non-caching mode to dbtext which allows things like "fifo domain_reload" and "fifo trusted_reload" to work, in addition to being able to update the subscriber table without having to restart openser. The patch sets the default behavior to non-caching and provides a db_mode parameter to the module for those who want the old behavior of always keeping the tables in memory. It hasn't been extensively tested and I don't really understand the code-base well enough to say I did this "right" but feel free to include in the devel branch if you think it's useful. ---------------------------------------------------------------------- >Comment By: Daniel-Constantin Mierla (miconda) Date: 2007-07-11 12:46 Message: Logged In: YES user_id=1246013 Originator: NO Patch updated and committed to SVN. Please do some testing, be aware the db+mode=0 is caching mode (see README) to be coherent with other similar parameters. ---------------------------------------------------------------------- Comment By: Herman Sheremetyev (has207) Date: 2007-07-11 07:12 Message: Logged In: YES user_id=808795 Originator: YES Would adding "tbl_cache_free(_tbc);" right before "// new table" on line 306 in dbt_lib.c do the trick? ---------------------------------------------------------------------- Comment By: Daniel-Constantin Mierla (miconda) Date: 2007-07-05 16:51 Message: Logged In: YES user_id=1246013 Originator: NO Am I missing some parts of the patch, or a previously loaded table is not freed before reload? ---------------------------------------------------------------------- Comment By: Herman Sheremetyev (has207) Date: 2007-04-17 00:16 Message: Logged In: YES user_id=808795 Originator: YES Updating to 1.2 and adding latest version that includes support for mtime checks on the tables to make sure they're only read from disk once after being updated. File Added: dbtext_nocache.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1671120&group_id=139143 _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel