How to fix sequence when remote and local is comment same time

Originally asked by Narongrit Saelim on 17 May 2022 (original question)


Scenario

an issue synced on project A and project B with the fields:

  • Description: “Test desc”
  • Labels: Test_label
  • Comment
    1. 2022-05-17 10:00 - commentA1

On both sides.

Then I edit the description on side A and the labels on side B, at the same time, so I have:

On side A:

  • Description: “Test desc”
  • Labels: Test_label
  • Comment
    1. 2022-05-17 10:00 - commentA1
    2. 2022-05-17 10:01 - commentA2

On side B:

  • Description: “Test desc”
  • Labels: Test_label
  • Comment
    1. 2022-05-17 10:00 - commentA1
    2. 2022-05-17 10:02 - commentB2

After the synchro, I have this:

On side A:

  • Description: “Test desc”
  • Labels: Test_label
  • Comment
    1. 2022-05-17 10:00 - commentA1
    2. 2022-05-17 10:01 - commentA2
    3. 2022-05-17 10:02 - commentB2

On side B:

  • Description: “Test desc”
  • Labels: Test_label
  • Comment
    1. 2022-05-17 10:00 - commentA1
    2. 2022-05-17 10:02 - commentB2
    3. 2022-05-17 10:01 - commentA2

I would like to have both changes merged on both sides:

On side A:

  • Description: “Test desc”
  • Labels: Test_label
  • Comment
    1. 2022-05-17 10:00 - commentA1
    2. 2022-05-17 10:01 - commentA2
    3. 2022-05-17 10:02 - commentB2

On side B:

  • Description: “Test desc”
  • Labels: Test_label
  • Comment
    1. 2022-05-17 10:00 - commentA1
    2. 2022-05-17 10:01 - commentA2
    3. 2022-05-17 10:02 - commentB2

Comments:

Francis Martens (Exalate) commented on 17 May 2022

If possible - Can you check in the database what the timestamps are of the comments?

Narongrit Saelim commented on 18 May 2022

yes, it orders by timestamps of the comments.

Is cannot re-order in exalate before re-write the comments?

it is confuse the timeline of comments.

thank.

Answer by Francis Martens (Exalate) on 18 May 2022

  • Did you check the timestamps in the database?
    Are these what you expect
  • Are the clocks set to the same
  • Is the ordering of the comment panel different from what the timestamp should do
  • How many times does it happen that 2 persons are providing a comment on the same issue (on different systems) …
  • how much effort do you want to spend on resolving this issue