Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_docs/data-streaming.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ DataStreamer doesn't guarantee:
If <<overwriting, 'allowOverwrite'>> property is 'false' (default), consider:
[]
- You should not have the same keys repeating in the data being streamed;
- Streamer cancelation or streamer node failure can cause data inconsistency;
- Streamer cancelation or topology change can cause data inconsistency;
- If loading into a persistent cache, concurrently created snapshot may contain inconsistent data and might not be restored entirely.

Most important behavior of Ignite Data Streamer is defined by <<receivers, stream receiver>> and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public class DataStreamerImpl<K, V> implements IgniteDataStreamer<K, V>, Delayed
/** */
public static final String WRN_INCONSISTENT_UPDATES = "The Data Streamer loads data with 'allowOverwrite' set " +
"to false. It doesn't guarantee data consistency until successfully finishes. Streamer cancelation or " +
"streamer node failure can cause data inconsistency. Concurrently created snapshot may contain inconsistent " +
"topology change can cause data inconsistency. Concurrently created snapshot may contain inconsistent " +
"data and might not be restored entirely.";

/** Per thread buffer size. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
/**
* For awaiting of eviction start.
*/
private static final CountDownLatch LATCH = new CountDownLatch(1);
private static CountDownLatch LATCH;

Check warning on line 103 in modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/index/SqlPartitionEvictionTest.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Rename this field "LATCH" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZ4maEHv-0N3zExIanlK&open=AZ4maEHv-0N3zExIanlK&pullRequest=13134

/** {@inheritDoc} */
@Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
Expand Down Expand Up @@ -138,8 +138,14 @@
while (idx <= backupsCount)
ig = ignitionStart(idx++);

awaitPartitionMapExchange();

loadData(ig, 0, NUM_ENTITIES);

assertEquals(NUM_ENTITIES, ig.cache(POI_CACHE_NAME).size());

LATCH = new CountDownLatch(1);

ignitionStart(idx);

awaitPartitionMapExchange();
Expand Down
Loading