1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/transactions
epriestley 2447d9bdf2 Begin improving modularity of IndexEngine, add locks
Summary:
Ref T9890. Ref T9979. Several adjacent goals:

  - The `SearchEngine` vs `ApplicationSearchEngine` thing is really confusing. There are also a bunch of confusing class names and class relationships within the fulltext indexing. I want to rename these classes to be more standard (`IndexEngine`, `IndexEngineExtension`, etc). Rename `SearchIndexer` to `IndexEngine`. A future change will rename `SearchEngine`.
  - Add the index locks described in T9890.
  - Structure things a little more normally so future diffs can do the "EngineExtension" thing more cleanly.

Test Plan:
Indexing:

  - Renamed a task to have a unique word in the title.
  - Ran `bin/search index Txxx`.
  - Searched for unique word.
  - Found task.

Locking:

  - Added a `sleep(10)` after the `lock()` call.
  - Ran `bin/search index Txxx` in two windows.
  - Saw first one lock, sleep 10 seconds, index.
  - Saw second one give up temporarily after failing to grab the lock.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9890, T9979

Differential Revision: https://secure.phabricator.com/D14834
2015-12-21 17:04:10 -08:00
..
application Allow EditEngine create and edit forms to be reordered 2015-12-08 13:00:54 -08:00
commentaction Provide "Change Projects" and "Change Subscribers" (instead of "Add ...") in comment actions 2015-12-15 15:03:34 -08:00
constants Restore "Create" transactions 2015-12-18 11:56:03 -08:00
controller Straighten out reorder permissions on form configurations 2015-12-19 07:36:00 -08:00
edges Modernize remaining edge types 2015-01-03 10:58:20 +11:00
editengine Restore "Create" transactions 2015-12-18 11:56:03 -08:00
editfield Prevent "Spaces" field from being set to inconsistent values 2015-12-17 11:22:32 -08:00
editor Begin improving modularity of IndexEngine, add locks 2015-12-21 17:04:10 -08:00
edittype Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
engineextension Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
error Route task merges through new editor 2013-09-23 14:32:32 -07:00
exception Mark some strings for translation 2015-06-09 23:06:52 +10:00
feed Desktop Notification support 2015-06-22 13:11:37 -07:00
interface Transactions - adding willRenderTimeline to handle tricky cases 2014-12-04 13:58:52 -08:00
phid Allow ApplicationEditor forms to be reconfigured 2015-11-10 10:24:40 -08:00
query Improve UX for customizing EditEngine forms a little bit 2015-12-17 08:40:00 -08:00
replyhandler Add Maniphest Task email creator to CCs 2015-09-09 14:07:07 -07:00
response Various translation improvements 2015-11-03 07:02:46 +11:00
storage Restore "Create" transactions 2015-12-18 11:56:03 -08:00
view Clean up "HTTP Parameters" view a bit for EditEngine forms 2015-12-18 12:00:38 -08:00
worker Allow transaction publishers to pass binary data to workers 2015-08-22 15:14:05 -07:00