1014 Commits

Author SHA1 Message Date
kimchy
61764c5b69 add another test for local gateway, fix race when loading the current state of a node 2010-08-30 19:29:00 +03:00
kimchy
908fba44e7 fsync translog when closing and not deleting, allocate failed shard to another started shard 2010-08-30 16:55:57 +03:00
kimchy
d9979f8dfe more work on local gateway, start integration test it 2010-08-30 01:25:45 +03:00
kimchy
8ed54c24bd change nodeFile to nodeLocation 2010-08-29 23:25:23 +03:00
kimchy
5b5d42445d move the shared fs gateway base class to fs package 2010-08-29 23:22:55 +03:00
kimchy
269616f35e more work on getting local gateway to work, apply transaction log operations when primary "recovering" 2010-08-29 16:56:04 +03:00
kimchy
4f4471483d initial work on local gateway 2010-08-29 01:24:23 +03:00
kimchy
163b7be639 refactor gateway service to allow for more custom gateway implemenations 2010-08-28 00:34:15 +03:00
kimchy
a10ab7fe08 better exception thrown when failing to handle responses 2010-08-27 14:14:28 +03:00
kimchy
e85c47db74 improve stack trace when failing to send a transaction request 2010-08-27 13:52:58 +03:00
kimchy
e5b041c8ef simplify gateway snapshot operation 2010-08-27 00:41:55 +03:00
kimchy
19ddee5ec9 add a test for time interval 2010-08-26 18:12:51 +03:00
kimchy
a49af6072b add objects option to range filter builder 2010-08-26 16:39:39 +03:00
kimchy
d56b4d266e move query hint only to broadcast requests that use it 2010-08-26 14:31:54 +03:00
kimchy
dfa24f6d03 improve caching of stored metadata fetched from nodes during allocation in order to reuse existing shards 2010-08-25 23:12:07 +03:00
kimchy
2910b6ab7f add callback for shards_started and shards_failed to better handle caching on node allocations level 2010-08-25 22:20:27 +03:00
kimchy
3ebd03f69a doc 2010-08-25 22:03:11 +03:00
kimchy
9d615a4f0b Query DSL: Improve or and and filters to accept just array of filters, closes #336. 2010-08-25 18:06:28 +03:00
kimchy
c7a36ed431 add an exception when on filtesr are provided to "and" and "not" filters 2010-08-25 17:56:50 +03:00
kimchy
fcdc5f872a improve (perf) getting last committed version of the index to create a new translog with 2010-08-25 15:12:26 +03:00
kimchy
9d08e56d8a cache nodes store metadata for on a shard basis when iteratring over the unassigned nodes 2010-08-25 15:03:25 +03:00
kimchy
f36d80f66d don't go and find local storage for a shard on nodes if its not going to be allocated 2010-08-25 15:01:09 +03:00
kimchy
4bfd0a8c26 cache commit points during smart allocation based on local storage when recovering from gateway 2010-08-25 01:12:16 +03:00
kimchy
244cd42298 allow to use just hosts when using unicast discover, will use the transport level ports 2010-08-25 00:44:04 +03:00
kimchy
fc812a306b change logging 2010-08-24 23:33:03 +03:00
kimchy
ba5814a72f change log level 2010-08-24 23:25:20 +03:00
kimchy
31aed01220 increase timeout to 5 seconds 2010-08-24 23:18:58 +03:00
kimchy
fdc82dd5a3 ignore parsing of wrong file format in the gateway (log warn), use index vesrion as the translog id 2010-08-24 23:12:18 +03:00
kimchy
d0f5bc3403 add russian letter tokenizer 2010-08-24 23:11:22 +03:00
kimchy
49b4659322 Indexing Buffer Size: Refine default setting to 10% (from 40%) and add more settings, closes #334. 2010-08-24 18:12:45 +03:00
kimchy
7ae8d4c669 thread pool type setting is wrong, fix blocking max setting to have a minimum of 10, use cached TP where needed 2010-08-24 15:28:54 +03:00
kimchy
b8ab50828c only list and delete files we created 2010-08-24 14:48:49 +03:00
kimchy
df23d8f7ec don't snapshot a translog that has no content 2010-08-24 03:58:21 +03:00
kimchy
6c29142b91 throw recovery failure if failing to parse all commit points 2010-08-24 01:28:39 +03:00
kimchy
b52d854711 smarter handling of throttling when preferring allocating to an existing work location 2010-08-23 21:39:54 +03:00
kimchy
78b6879ecd move rebalance only when active logic into node allocation, add canRebalance hook point 2010-08-23 18:28:35 +03:00
kimchy
149962691e move rebalance only when active logic into node allocation, add canRebalance hook point 2010-08-23 18:27:01 +03:00
kimchy
4300a6ca18 move rebalance only when active logic into node allocation, add canRebalance hook point 2010-08-23 18:26:17 +03:00
kimchy
0e47898902 add /_shutdown to the REST endpoints 2010-08-23 18:01:47 +03:00
kimchy
5900e01a0d list remote nodest storage information with a timeout 2010-08-23 18:00:37 +03:00
kimchy
1461da5b49 move prefetch allocation to be a NodeAllocation 2010-08-23 17:22:44 +03:00
kimchy
edbd586ee5 add load test for recovery from gateway 2010-08-23 16:33:33 +03:00
kimchy
939d583550 initial chunk of work on refactoring the gateway, syntatic gateway files names, commit points that include translog information 2010-08-23 15:42:03 +03:00
kimchy
b49d331c86 initial chunk of work on refactoring the gateway, syntatic gateway files names, commit points that include translog information 2010-08-23 15:28:12 +03:00
kimchy
62cc4d554a better logging message for reused vs. recovered from gateway 2010-08-23 15:25:06 +03:00
kimchy
5bd37f6f47 initial chunk of work on refactoring the gateway, syntatic gateway files names, commit points that include translog information 2010-08-23 14:48:49 +03:00
kimchy
1517fa3d28 initial chunk of work on refactoring the gateway, syntatic gateway files names, commit points that include translog information 2010-08-23 01:45:03 +03:00
kimchy
36ad3b246a addlow to add node allocation ot the module 2010-08-22 12:35:59 +03:00
kimchy
664f28492d improvements to the module system, allow for a module to spawn other modules, and pre process modules before injector creation 2010-08-22 10:42:25 +03:00
kimchy
aa28b93610 refactor how throttling is done, instead of doing it after a shard is allocated to a node, and then wait till its allowed to recover, do it on the allocation level, and don't allocate a shard to a node that has N number of recoveries going on it 2010-08-22 02:47:34 +03:00