Ticket #1102 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

[TiddlyWeb] HTML serialization links to bag from recipe when using caching-store

Reported by: FND Owned by: cdent
Priority: major Milestone:
Component: tiddlyweb Version:
Severity: low Keywords:
Cc:

Description

<FND>  http://tiddlyweb.peermore.com/wiki/recipes/docs/tiddlers/server_host links to  http://tiddlyweb.peermore.com/wiki/bags/docs/tiddlers/tiddlywebconfig.py
<cdent> that's curious
<cdent> somewhere along the way the tiddler is losing it's recipe attribute
<cdent> otherwise it wouldn't be doing that

Change History

Changed 3 years ago by cdent

This may be an artifact of the sql store, rather than something generic in tiddlyweb. Need to do some more testing. It does appear to be something happening at the store level though.

Changed 3 years ago by cdent

Actually it is an artifact of the caching store, so only impacts those servers using memcached.

A possible fix sort of blows up the whole reason for using memcached in the first place, so not sure what to do about it. Since it only impacts a small number of sites so far, just going to think about it for now.

Changed 3 years ago by cdent

  • summary changed from [TiddlyWeb] HTML serialization links to bag from recipe to [TiddlyWeb] HTML serialization links to bag from recipe when using caching-store

Changed 2 years ago by cdent

What's happening here is that the caching-store entirely replaces the requested tiddler with the tiddler it has in its store. This is different from the usual store algorithm which "fills" the incoming tiddler with the right stuff, or at least interleaves things.

So in the calling code even if tiddler.recipe is set in Tiddler object being requested from the caching-store, the object that is pulled from memcached may not because what is in the cache is id'd by bag_name/tiddler_title/tiddler_revision

The fix is fairly straightforward, so I guess I'll just do it.

Changed 2 years ago by cdent

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.