Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5484 closed defect (invalid)

Resuming chunks upload creates duplicates ?

Reported by: pieren Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: chunks Cc:

Description

Hi josm-team,

French users like the chunk uploads feature to import buildings from the cadastre. But it seems that if a chunk failes, a resuming will create duplicates in the database. By a quick look on the source, it seems that JOSM is updating its local ID's only when all chunks have succeeded. So if the 4th chunk upload failes, the first 3 chunks will be duplicated in the database at the next upload although they went well the first time (if I read correctly OsmServerWriter.uploadChangesInChunks()). Would it be possible to avoid such duplicates when resuming a chunks upload ?

Attachments (0)

Change History (3)

comment:1 by bastiK, 14 years ago

Last time i checked, this was ok. Can you try on dev-server and confirm that it is really broken?

comment:2 by pieren, 14 years ago

Resolution: invalid
Status: newclosed

I simulated an exception and the succesfull chunks are correctly handled. So the duplicated data with bigger imports in the server are coming from somewhere else.

comment:3 by bastiK, 14 years ago

A few weeks ago a bug like you describe was closed. So it may be from that time.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.