about summary refs log tree commit homepage
path: root/lib/PublicInbox/V2Writable.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-11-03 06:48:58 +0000
committerEric Wong <e@80x24.org>2019-11-03 06:49:50 +0000
commit17d2778c404c25c459f320a7f92913d17569fc59 (patch)
tree48ae0dddf6acd5f8c3434119cbafd62ac881d575 /lib/PublicInbox/V2Writable.pm
parent4821798351defce82c102e46d6f5f84f0cdc0e34 (diff)
downloadpublic-inbox-17d2778c404c25c459f320a7f92913d17569fc59.tar.gz
We don't want to define $SIG{__WARN__} in the worker to call an
existing non-default callback.  Instead update ->{current_info}
the same way the V2Writable master process does.

I noticed this while reindexing with a large XAPIAN_FLUSH_THRESHOLD
and seeing the wrong epoch on my terminal from a shard because the
shard worker was spawned while reindexing a higher-numbered epoch.
Diffstat (limited to 'lib/PublicInbox/V2Writable.pm')
0 files changed, 0 insertions, 0 deletions