Commit Graph

781 Commits

Author SHA1 Message Date
kimchy 553e8134ee create a send transaction exception on the calling thread and fill its stack, so we know where its coming from 2010-07-20 18:33:44 +03:00
kimchy 07480846c3 fix logging to actually pass the actual logging parameters 2010-07-20 18:33:12 +03:00
kimchy 6915b39dc3 clean timeout listener task when removing the listener 2010-07-20 18:32:49 +03:00
kimchy 45e54c1705 add retry if master is not connected till master is connected or a timeout has passed to master based operations (like cluster health) 2010-07-20 18:32:21 +03:00
kimchy 45c821316b no need for volatile on writer, its always accessed under a lock 2010-07-20 13:58:01 +03:00
kimchy 3c8cf68a17 improve timeout cluster service listener 2010-07-20 13:50:19 +03:00
kimchy 4ac1409afa don't list connect exceptions 2010-07-20 11:01:08 +03:00
kimchy 679f3758b7 ignore a more genric exception 2010-07-20 09:29:10 +03:00
kimchy 3867591ffa clean up the java api a bit 2010-07-20 09:18:16 +03:00
kimchy 2ee870e01e nicer logging, append space before index + shard id logging 2010-07-20 08:53:57 +03:00
kimchy 6f2c0f4e55 spelling 2010-07-19 17:51:42 +03:00
kimchy 5f0470d68b Support Cross-Origin resource in http/rest module, closes #218. 2010-07-19 15:06:13 +03:00
kimchy e48b1d98db more recovery under load tests, now with nodes shutdown, ignore node connected exception or retry when performing replicated operations 2010-07-19 11:33:21 +03:00
kimchy 9def68a733 add full rolling restart recvoery test 2010-07-19 10:08:12 +03:00
kimchy df602054fb fix relocation of primaries and perform the operation on the relocated primary replica as well 2010-07-19 09:54:52 +03:00
kimchy 0d20790ffe when shutting down a node, close shard (and indices) in parallel 2010-07-19 02:17:59 +03:00
kimchy d657d4447b more shard relocation tests, create a cached executor that can be used to allocate threads that are not affected by the actual thread pool impl (can always fork, no blocking) 2010-07-19 01:45:09 +03:00
kimchy f9cd7cb932 add a recovery test while under indexing load 2010-07-18 23:57:57 +03:00
kimchy 9c9dfe0b39 add a recovery test while under indexing load 2010-07-18 23:40:13 +03:00
kimchy fefcfb5b5c refactor recovery to be handled on the node level (and not per shard), with better retry mechanism when doing peer shard recovery 2010-07-18 22:54:21 +03:00
kimchy 8ac8dd818d now that we have a file based transaction log, increate the memory clean threshold 2010-07-18 21:24:52 +03:00
kimchy 49f8501a5b nicer serilization 2010-07-17 22:58:16 +03:00
kimchy 910ad2a408 fix optimization to not do sorting when searching with score "desc" sorting 2010-07-17 19:38:04 +03:00
kimchy 08ca383fd5 more work on cloud gateway 2010-07-17 15:20:13 +03:00
kimchy 6194b3ab0f add NaN handling for specific hit score as well 2010-07-17 13:52:31 +03:00
kimchy 1fccaf06e9 start work on reimplementing cloud gateway 2010-07-17 13:12:53 +03:00
kimchy e61dc78c21 max_score == NaN, closes #263. 2010-07-17 01:39:12 +03:00
kimchy 3006183191 fix a problem where max_score was NaN if there were no hits from a shard (though there are hits from other shards), it will still be NaN where there are no hits 2010-07-15 22:58:18 +03:00
kimchy cf998e2f89 protected when not of the same type mapper when merging 2010-07-15 22:35:18 +03:00
kimchy 9f6fde9adb better handling of failed merge because of different types 2010-07-15 20:40:40 +03:00
kimchy cfa56cb3d6 Put Mapping: When updating existing mappings, the request returns with acknowledged `false`, closes #262. 2010-07-15 20:03:44 +03:00
kimchy c987e8a534 Querying mapping on a non-master throws an error, closes #261. 2010-07-15 19:03:45 +03:00
kimchy ee60d7dedc better exception message when failing to parse a specific field 2010-07-15 18:46:12 +03:00
kimchy ca8ad83092 only count data_nodes with recover_after_nodes parameter 2010-07-15 01:12:00 +03:00
kimchy 61fadb4dc0 use safe method (to get proper exception) to get shard injector 2010-07-14 23:39:19 +03:00
kimchy f6fa056f1c fix REST api for cluster state and the ability to filter parts of the data returned 2010-07-14 16:05:47 +03:00
kimchy 95ba62f83d Translog: Implement a file system based translog and make it the default, closes #260. 2010-07-14 14:53:58 +03:00
kimchy e7d80b8244 remove max_shards_per_node setting (actually, you could not set it even...), will be revisted when proper SLA based shard allocation will be implemented 2010-07-14 14:29:56 +03:00
kimchy a6bd64f30d Facet results vary depending on size, closes #259. 2010-07-14 11:30:39 +03:00
kimchy 2704ab3d69 improve join process in cluster, fetch the cluster meta-data on join and handle new meta data 2010-07-14 10:34:22 +03:00
kimchy 141506afc5 improve join process in cluster, fetch the cluster meta-data on join and handle new meta data 2010-07-14 09:28:56 +03:00
kimchy 2e2f22fbd6 nullify the updater on stop 2010-07-14 08:55:57 +03:00
kimchy c4d6ccd07b nicer logging 2010-07-14 08:41:42 +03:00
kimchy 234455530a Make merging mappings smarter, closes #253. 2010-07-14 07:32:17 +03:00
kimchy 892dadca59 refactor meta data opertions into discrete services that do all operations within the cluster update process 2010-07-13 18:01:57 +03:00
kimchy ed04721f08 doc 2010-07-13 10:19:57 +03:00
kimchy f0cf552bc5 sorting breaks when sorting on a field that has no value in some documents 2010-07-13 09:38:55 +03:00
kimchy e6bd3f2693 Put Mapping: Fail when an analyzer is specified that was not configured, closes #252. 2010-07-12 23:18:32 +03:00
kimchy 65dffdf9cf throw a descriptive exception when trying to sort on multi token or multi values field per doc 2010-07-12 23:13:37 +03:00
kimchy ff17183798 add more sort tests 2010-07-12 22:25:49 +03:00