View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002585 | SymmetricDS | Bug | public | 2016-05-03 04:22 | 2016-05-17 17:01 |
Reporter | mmichalek | Assigned To | mmichalek | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.7.32 | ||||
Target Version | 3.7.33 | Fixed in Version | 3.7.33 | ||
Summary | 0002585: C Client doesn't populate failure code on RemoteNodeStatus | ||||
Description | It's difficult to get details about a push or pull right now. This fix/improvement properly sets the failure flag, status code, and adds a failureMessage to the RemoteNodeStatus when using the push and pull services. Here's an example of determining if a node is offline after attempting a pull. SymRemoteNodeStatuses *statuses = this->engine->pull(this->engine); if (statuses->nodes != NULL && statuses->nodes->size > 0) { int i; for (i = 0; i < statuses->nodes->size; ++i) { SymRemoteNodeStatus *status = (SymRemoteNodeStatus*)statuses->nodes->get(statuses->nodes, i); if (status->failed && status->status == SYM_REMOTE_NODE_STATUS_OFFLINE) { printf("Node %s is offline. Message: %s\n", status->nodeId, status->failureMessage); } } } | ||||
Tags | No tags attached. | ||||
SymmetricDS: 3.7 78783916 2016-05-03 00:29:45 Details Diff |
0002585: C Client doesn't populate failure code on RemoteNodeStatus |
Affected Issues 0002585 |
|
mod - symmetric-client-clib/inc/model/RemoteNodeStatus.h | Diff File | ||
mod - symmetric-client-clib/inc/transport/IncomingTransport.h | Diff File | ||
mod - symmetric-client-clib/inc/transport/OutgoingTransport.h | Diff File | ||
mod - symmetric-client-clib/inc/transport/http/HttpIncomingTransport.h | Diff File | ||
mod - symmetric-client-clib/inc/transport/http/HttpTransportManager.h | Diff File | ||
mod - symmetric-client-clib/src/service/DataExtractorService.c | Diff File | ||
mod - symmetric-client-clib/src/service/DataLoaderService.c | Diff File | ||
mod - symmetric-client-clib/src/transport/file/FileIncomingTransport.c | Diff File | ||
mod - symmetric-client-clib/src/transport/http/HttpIncomingTransport.c | Diff File | ||
mod - symmetric-client-clib/src/transport/http/HttpOutgoingTransport.c | Diff File | ||
mod - symmetric-client-clib/src/transport/http/HttpTransportManager.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-05-03 04:22 | mmichalek | New Issue | |
2016-05-03 04:22 | mmichalek | Status | new => assigned |
2016-05-03 04:22 | mmichalek | Assigned To | => mmichalek |
2016-05-03 04:30 | mmichalek | Status | assigned => resolved |
2016-05-03 04:30 | mmichalek | Resolution | open => fixed |
2016-05-03 04:30 | mmichalek | Fixed in Version | => 3.7.33 |
2016-05-03 05:00 | mmichalek | Changeset attached | => SymmetricDS 3.7 78783916 |
2016-05-17 17:01 | chenson | Status | resolved => closed |