Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in adiminCLI: convert domain name to donmainID using domainCache #812

Merged
merged 1 commit into from
Jun 5, 2018

Conversation

longquanzheng
Copy link
Contributor

No description provided.

@longquanzheng
Copy link
Contributor Author

Verified it works in my laptop:

longer@~/gocode/src/github.com/uber/cadence:(admin-dev-2)$ ./cadence --domain samples-domain adm wf desc -w helloworld_cd0a6f79-fe03-487f-961b-2f3a15218d51
{
  "shardId": "1",
  "historyAddr": "127.0.0.1:7934",
  "mutableStateInCache": "{\"ActivitInfos\":{},\"TimerInfos\":{},\"ChildExecutionInfos\":{},\"RequestCancelInfos\":{},\"SignalInfos\":{},\"SignalRequestedIDs\":{},\"ExecutionInfo\":{\"DomainID\":\"c19c8762-d0e7-4504-9a77-eeb88769c01b\",\"WorkflowID\":\"helloworld_cd0a6f79-fe03-487f-961b-2f3a15218d51\",\"RunID\":\"ce7aa50e-967f-4607-89d6-7e447707ac53\",\"ParentDomainID\":\"10000000-0000-f000-f000-000000000000\",\"ParentWorkflowID\":\"\",\"ParentRunID\":\"30000000-0000-f000-f000-000000000000\",\"InitiatedID\":-7,\"CompletionEvent\":null,\"TaskList\":\"helloWorldGroup\",\"WorkflowTypeName\":\"main.Workflow\",\"WorkflowTimeout\":60,\"DecisionTimeoutValue\":60,\"ExecutionContext\":null,\"State\":0,\"CloseStatus\":0,\"LastFirstEventID\":1,\"NextEventID\":3,\"LastProcessedEvent\":-23,\"StartTimestamp\":\"2018-06-05T17:10:47.031Z\",\"LastUpdatedTimestamp\":\"2018-06-05T17:10:47.031Z\",\"CreateRequestID\":\"5986c71e-a241-4e46-af4f-a25c1e160916\",\"DecisionVersion\":-24,\"DecisionScheduleID\":2,\"DecisionStartedID\":-23,\"DecisionRequestID\":\"\",\"DecisionTimeout\":60,\"DecisionAttempt\":0,\"DecisionTimestamp\":0,\"CancelRequested\":false,\"CancelRequestID\":\"\",\"StickyTaskList\":\"\",\"StickyScheduleToStartTimeout\":0,\"ClientLibraryVersion\":\"\",\"ClientFeatureVersion\":\"\",\"ClientImpl\":\"\"},\"ReplicationState\":null,\"BufferedEvents\":[],\"BufferedReplicationTasks\":{}}",
  "mutableStateInDatabase": "{\"ActivitInfos\":{},\"TimerInfos\":{},\"ChildExecutionInfos\":{},\"RequestCancelInfos\":{},\"SignalInfos\":{},\"SignalRequestedIDs\":{},\"ExecutionInfo\":{\"DomainID\":\"c19c8762-d0e7-4504-9a77-eeb88769c01b\",\"WorkflowID\":\"helloworld_cd0a6f79-fe03-487f-961b-2f3a15218d51\",\"RunID\":\"ce7aa50e-967f-4607-89d6-7e447707ac53\",\"ParentDomainID\":\"10000000-0000-f000-f000-000000000000\",\"ParentWorkflowID\":\"\",\"ParentRunID\":\"30000000-0000-f000-f000-000000000000\",\"InitiatedID\":-7,\"CompletionEvent\":null,\"TaskList\":\"helloWorldGroup\",\"WorkflowTypeName\":\"main.Workflow\",\"WorkflowTimeout\":60,\"DecisionTimeoutValue\":60,\"ExecutionContext\":null,\"State\":0,\"CloseStatus\":0,\"LastFirstEventID\":1,\"NextEventID\":3,\"LastProcessedEvent\":-23,\"StartTimestamp\":\"2018-06-05T17:10:47.031Z\",\"LastUpdatedTimestamp\":\"2018-06-05T17:10:47.031Z\",\"CreateRequestID\":\"5986c71e-a241-4e46-af4f-a25c1e160916\",\"DecisionVersion\":-24,\"DecisionScheduleID\":2,\"DecisionStartedID\":-23,\"DecisionRequestID\":\"\",\"DecisionTimeout\":60,\"DecisionAttempt\":0,\"DecisionTimestamp\":0,\"CancelRequested\":false,\"CancelRequestID\":\"\",\"StickyTaskList\":\"\",\"StickyScheduleToStartTimeout\":0,\"ClientLibraryVersion\":\"\",\"ClientFeatureVersion\":\"\",\"ClientImpl\":\"\"},\"ReplicationState\":null,\"BufferedEvents\":[],\"BufferedReplicationTasks\":{}}"
}

@longquanzheng longquanzheng merged commit 42f44b6 into cadence-workflow:master Jun 5, 2018
@longquanzheng longquanzheng deleted the admin-dev-3 branch January 5, 2020 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants