Commit c9e206a
authored
Make sure we replicate instructions unconditionally (#7523)
Eg. List::clear should replicate even though the list is already empty.
Obj::set should replicate even though old and new values are equal.
This has influence on OT. If you want to assign new values to an empty
list and does not replicate the clear instruction you could end up having
your values added to some content added by another client.1 parent 6b07299 commit c9e206a
File tree
6 files changed
+168
-221
lines changed- src/realm
- test
- object-store
6 files changed
+168
-221
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
437 | 436 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
| 437 | + | |
446 | 438 | | |
447 | 439 | | |
448 | 440 | | |
| |||
549 | 541 | | |
550 | 542 | | |
551 | 543 | | |
| 544 | + | |
552 | 545 | | |
553 | 546 | | |
554 | 547 | | |
| |||
577 | 570 | | |
578 | 571 | | |
579 | 572 | | |
580 | | - | |
581 | 573 | | |
582 | 574 | | |
583 | 575 | | |
584 | 576 | | |
585 | 577 | | |
586 | | - | |
587 | | - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
588 | 583 | | |
589 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
590 | 592 | | |
591 | 593 | | |
592 | 594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
413 | 417 | | |
414 | 418 | | |
415 | 419 | | |
| |||
427 | 431 | | |
428 | 432 | | |
429 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
430 | 438 | | |
431 | 439 | | |
432 | 440 | | |
| |||
529 | 537 | | |
530 | 538 | | |
531 | 539 | | |
532 | | - | |
533 | | - | |
534 | 540 | | |
535 | | - | |
536 | 541 | | |
537 | | - | |
538 | | - | |
539 | 542 | | |
540 | 543 | | |
541 | 544 | | |
542 | 545 | | |
543 | 546 | | |
544 | 547 | | |
545 | 548 | | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | 549 | | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
| 550 | + | |
563 | 551 | | |
564 | 552 | | |
565 | 553 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
935 | 936 | | |
936 | 937 | | |
937 | 938 | | |
| |||
0 commit comments