[ https://issues.apache.org/jira/browse/IGNITE-15193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Chugunov updated IGNITE-15193: ------------------------------------- Ignite Flags: Docs Required > Some notifications are lost in configuration listeners. > ------------------------------------------------------- > > Key: IGNITE-15193 > URL: https://issues.apache.org/jira/browse/IGNITE-15193 > Project: Ignite > Issue Type: Bug > Affects Versions: 3.0.0-alpha2 > Reporter: Ivan Bessonov > Assignee: Ivan Bessonov > Priority: Major > Labels: iep-55, ignite-3 > Fix For: 3.0.0-alpha3 > > Time Spent: 20m > Remaining Estimate: 0h > > Consider following test: ConfigurationListenerTest#dataRace() > {code:java} > /** */ > @Test > public void dataRace() throws Exception { > configuration.change(parent -> parent.changeElements(elements -> > elements.create("name", e -> {})) > ).get(1, SECONDS); > List<String> log = new CopyOnWriteArrayList<>(); > configuration.elements().get("name").listen(ctx -> { > assertNull(ctx.newValue()); > log.add("deleted"); > return completedFuture(null); > }); > configuration.change(parent -> parent.changeElements(elements -> > elements.delete("name")) > ).get(1, SECONDS); > assertEquals(List.of("deleted"), log); > } > {code} > It fails due to wrong configuration access in ConfigurationNotificationsUtil. -- This message was sent by Atlassian Jira (v8.3.4#803005)