Opened 9 years ago

Closed 2 years ago

#381 closed defect (wontfix)

create-node timeouts and retries can create multiple identical nodes

Reported by: writetodan@… Owned by: steve@…
Priority: major Milestone:
Component: api Version:
Keywords: Cc:


it appears as if when a node-creation call to the API times out and is aborted (e.g. through exceeding socket.timeout setting in HttpClient? in applet's Adapter), one or automatic more retries to the API can result in multiple identical nodes being created.

unsure if/what should be done on API-side. (ticket also created against applet)

Change History (3)

comment:1 Changed 8 years ago by tom@…

The basic problem is that the client times out and gives up, but the server waits a bit longer and does get around to handling the pending request. Not sure there is much we can do about this.

comment:2 Changed 7 years ago by karl.guggisberg@…

for idempotent http requests.

Clients could add a unique request ID to every request (i.e. a GUID?), server makes sure that every request is processed at most once. Additional requests with the same request ID would be ignored by the server. A warning could be replied to the client for duplicated requests.

comment:3 Changed 2 years ago by iandees

  • Resolution set to wontfix
  • Status changed from new to closed

Cleaning old tickets.

Note: See TracTickets for help on using tickets.