Commit ab51b91
committed
[BP] MB-58961: Remove ActiveStream::lastReadSeqnoUnSnapshotted
That is set to the last seqno that a stream has got from checkpoints
but still not pushed into the stream readyQ.
Used for passing that information down to
ActiveStream::snapshot(<items>) and setting AS::lastReadSeqno. That
doesn't need to be a class member as that information is computed
locally when the stream makes up a snapshot from checkpoint.
Also, lastReadSeqnoUnSnapshotted represents a non-atomic information on
the stream state, as that is updated for every item processed under
streamLock in the middle of the execution of
AS::nextCheckpointItemTask().
Change-Id: Iac36349920203e81ba9898137a902c2d1def2048
Reviewed-on: https://review.couchbase.org/c/kv_engine/+/198886
Reviewed-by: Trond Norbye <[email protected]>
Tested-by: Paolo Cocchi <[email protected]>
Well-Formed: Restriction Checker1 parent 4597def commit ab51b91
File tree
3 files changed
+14
-18
lines changed- engines/ep
- docs
- src/dcp
3 files changed
+14
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
745 | | - | |
746 | 744 | | |
747 | 745 | | |
748 | 746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
846 | 845 | | |
847 | 846 | | |
848 | 847 | | |
849 | | - | |
850 | | - | |
851 | 848 | | |
852 | 849 | | |
853 | 850 | | |
| |||
1317 | 1314 | | |
1318 | 1315 | | |
1319 | 1316 | | |
| 1317 | + | |
1320 | 1318 | | |
1321 | 1319 | | |
1322 | 1320 | | |
| |||
1337 | 1335 | | |
1338 | 1336 | | |
1339 | 1337 | | |
1340 | | - | |
| 1338 | + | |
| 1339 | + | |
1341 | 1340 | | |
1342 | 1341 | | |
1343 | 1342 | | |
| |||
1365 | 1364 | | |
1366 | 1365 | | |
1367 | 1366 | | |
1368 | | - | |
| 1367 | + | |
| 1368 | + | |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
| |||
1387 | 1387 | | |
1388 | 1388 | | |
1389 | 1389 | | |
1390 | | - | |
| 1390 | + | |
| 1391 | + | |
1391 | 1392 | | |
1392 | 1393 | | |
1393 | 1394 | | |
| |||
1476 | 1477 | | |
1477 | 1478 | | |
1478 | 1479 | | |
1479 | | - | |
| 1480 | + | |
| 1481 | + | |
1480 | 1482 | | |
1481 | 1483 | | |
1482 | 1484 | | |
1483 | 1485 | | |
1484 | | - | |
1485 | | - | |
| 1486 | + | |
1486 | 1487 | | |
1487 | 1488 | | |
1488 | 1489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
636 | | - | |
| 635 | + | |
637 | 636 | | |
638 | 637 | | |
639 | 638 | | |
| |||
694 | 693 | | |
695 | 694 | | |
696 | 695 | | |
| 696 | + | |
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
| 701 | + | |
| 702 | + | |
702 | 703 | | |
703 | 704 | | |
704 | 705 | | |
| |||
839 | 840 | | |
840 | 841 | | |
841 | 842 | | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | 843 | | |
847 | 844 | | |
848 | 845 | | |
| |||
0 commit comments