[01:32:42] the snapshot failed with errors: https://phabricator.wikimedia.org/P30699 [01:34:25] starting it again as snapshot snapshot_t309648_attempt_2 [08:01:27] dcausse: I'm writing a few Java guidelines. Do we have a standard for HTTP requests? Apache HC? OkHttp? Is there one that we want to push as a standard? [08:02:50] eventutilities is using HC, so that is probably already trickling down to a number of projects [08:09:50] gehel: we have this http route thing for calling mw api servers internally, lemme check [08:11:47] but apache HC is the one we the most [08:11:51] *use [08:18:49] if you get to lombok we have nice setups in wdqs/rdf/tools that works well with jackson (e.g. using a minimal @Data object that works well with jackson) [08:44:23] first draft available on https://www.mediawiki.org/wiki/Manual:Coding_conventions/Java [08:46:16] Errand + lunch [10:14:45] lunch [13:01:28] greetings! [13:01:48] looks like the snapshot was a success, will update notes and start on the restore shortly [13:02:33] may need some help determining how to point commonswiki_file alias to the latest version of the index if that doesn't happen automatically [13:24:56] o/ [13:34:04] cloudelastic errors suggest it's not using path style access for the S3 repo, doing a rolling restart to (hopefully) enable our custom plugin (which does support path-based access) [15:27:19] \o [15:27:28] inflatador: the alias will happen automagically on restore [15:27:50] (it's stored as part of the index settings) [15:27:52] o/ [15:28:30] cool, will let you know how the snapshot goes then [16:17:24] cloudelastic1006 failing to start its main ES service, not a perms issue...checking it out now [16:28:29] cloudelastic1006 is our only bullseye host, it had something weird going on with the s3 plugin [16:28:44] reinstalling the wmf-elasticsearch-search-plugins package and restarting the services seems to have fixed it [16:29:59] (going to work out for real now) [16:34:41] :) [17:02:07] aaand back [17:23:21] Lunch, back in ~1 hr [19:26:20] lunch [20:13:50] quick break, brb [20:28:40] back [20:31:29] back [21:28:29] ebernhardson I successfully registered the snapshot repo in cloudelastic. Per https://www.elastic.co/guide/en/elasticsearch/reference/7.17/restore-snapshot-api.html , do you think we need to include any params in the restore besides the name of the index to restore? [21:49:30] ebernhardson went ahead and started the restore from cloudelastic1002, cmd used: https://phabricator.wikimedia.org/T309648#8045498 [21:49:41] based on the restore API, seems to be working [21:54:23] I am seeing some "allocation failed" for some shards occasionally [21:58:56] Nothing in explain, so I'm guessing they'll get reassigned [22:16:29] Explain says "primary shard for this replica is not yet active" on a lot of 'em, I imagine that will clear up eventually [22:28:28] hmm, i don't remember seeing those last time but if it's only from cloudelastic during the restore seems sane [22:48:44] I'm a bit surprised how slow that restore is running, ~50MB/s seems pretty minimal. But i guess it's just waiting and not that big a deal. I just always think they have more in them and like to tune things :P