[
https://issues.apache.org/jira/browse/SOLR-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089895#comment-16089895
]
Andrzej Bialecki commented on SOLR-11031:
------------------------------------------
Example query and document:
{code}
GET
http://127.0.0.1:62390/solr/.system/select?q=operations.params_ts:replica=core_node6
{
"responseHeader": {
"zkConnected": true,
"status": 0,
"QTime": 0
},
"response": {
"numFound": 1,
"start": 0,
"docs": [
{
"type": "autoscaling_action",
"source_s": "LogPlanAction",
"id": "14d221ff165765c0Tc5un1s7vjmkkumwg53jwmny4j",
"event.type_s": "NODELOST",
"event.source_s": "node_lost_trigger",
"event.time_l": 1500299005343000000,
"timestamp": "2017-07-17T13:43:26.384Z",
"event.property.nodeName_s": "127.0.0.1:62389_solr",
"event.property._enqueue_time__s": "1500299006352000000",
"operations.params_ts": [
"action=MOVEREPLICA collection=test
targetNode=127.0.0.1:62391_solr replica=core_node3",
"action=MOVEREPLICA collection=test
targetNode=127.0.0.1:62390_solr replica=core_node6",
"action=MOVEREPLICA collection=.system
targetNode=127.0.0.1:62390_solr replica=core_node3"
],
"event_str": [
"{\n
\"id\":\"14d221ff165765c0Tc5un1s7vjmkkumwg53jwmny4j\",\n
\"source\":\"node_lost_trigger\",\n \"eventTime\":1500299005343000000,\n
\"eventType\":\"NODELOST\",\n \"properties\":{\n
\"nodeName\":\"127.0.0.1:62389_solr\",\n
\"_enqueue_time_\":1500299006352000000}}"
],
"context_str": [
"{\n \"source\":\"node_lost_trigger\",\n
\"properties.operations\":[\n {\n
\"class\":\"org.apache.solr.client.solrj.request.CollectionAdminRequest$MoveReplica\",\n
\"method\":\"GET\",\n \"params.action\":\"MOVEREPLICA\",\n
\"params.collection\":\"test\",\n
\"params.targetNode\":\"127.0.0.1:62391_solr\",\n
\"params.replica\":\"core_node3\"},\n {\n
\"class\":\"org.apache.solr.client.solrj.request.CollectionAdminRequest$MoveReplica\",\n
\"method\":\"GET\",\n \"params.action\":\"MOVEREPLICA\",\n
\"params.collection\":\"test\",\n
\"params.targetNode\":\"127.0.0.1:62390_solr\",\n
\"params.replica\":\"core_node6\"},\n {\n
\"class\":\"org.apache.solr.client.solrj.request.CollectionAdminRequest$MoveReplica\",\n
\"method\":\"GET\",\n \"params.action\":\"MOVEREPLICA\",\n
\"params.collection\":\".system\",\n
\"params.targetNode\":\"127.0.0.1:62390_solr\",\n
\"params.replica\":\"core_node3\"}]}"
],
"_version_": 1573177530952712192
}
{code}
> Implement LogPlanAction for autoscaling
> ---------------------------------------
>
> Key: SOLR-11031
> URL: https://issues.apache.org/jira/browse/SOLR-11031
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: AutoScaling, SolrCloud
> Reporter: Shalin Shekhar Mangar
> Assignee: Andrzej Bialecki
> Labels: autoscaling
> Fix For: master (8.0), 7.1
>
> Attachments: SOLR-11031.patch
>
>
> The LogPlanAction should be used to persist events, computed plans and
> execution results to the .system collection by default. We can use this
> information later for analysis as well as to surface hints & history in the
> Admin UI.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]