You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/08/05 18:37:57 UTC

[ignite-teamcity-bot] branch master updated: Check missing invalidation todo added

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git


The following commit(s) were added to refs/heads/master by this push:
     new f551827  Check missing invalidation todo added
f551827 is described below

commit f5518274ebfea0a0728cf0463496d9b539e01d2c
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Mon Aug 5 21:37:49 2019 +0300

    Check missing invalidation todo added
---
 .../java/org/apache/ignite/ci/runners/RemoteClientTmpHelper.java | 9 ++++++---
 .../java/org/apache/ignite/tcignited/buildref/BuildRefDao.java   | 1 +
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/runners/RemoteClientTmpHelper.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/runners/RemoteClientTmpHelper.java
index ab0a859..ec9c219 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/runners/RemoteClientTmpHelper.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/runners/RemoteClientTmpHelper.java
@@ -69,6 +69,7 @@ public class RemoteClientTmpHelper {
      * @param args Args.
      */
     public static void main(String[] args) {
+        mainExport(args);
         // mainDropInvalidIssues(args);
         System.err.println("Please insert option of main");
     }
@@ -337,13 +338,13 @@ public class RemoteClientTmpHelper {
         if (dumpDict)
             dumpDictionary(ignite);
 
-        if (false) {
+        if (true) {
             IgniteCache<Long, FatBuildCompacted> cache1 = ignite.cache(FatBuildDao.TEAMCITY_FAT_BUILD_CACHE_NAME);
 
             int apache = ITeamcityIgnited.serverIdToInt("apache");
 
-            int id = 2200135;
-            int id1 = 2200209;
+            int id = 4466392;
+            int id1 = 4465532;
             dumpFatBuild(cache1, apache, id);
             dumpFatBuild(cache1, apache, id1);
 
@@ -351,6 +352,8 @@ public class RemoteClientTmpHelper {
             dumpBuildRef(cache2, apache, id);
             dumpBuildRef(cache2, apache, id1);
         }
+
+        ignite.close();
     }
 
     public static void dumpDictionary(Ignite ignite) {
diff --git a/tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/buildref/BuildRefDao.java b/tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/buildref/BuildRefDao.java
index 98f8d65..eba8972 100644
--- a/tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/buildref/BuildRefDao.java
+++ b/tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/buildref/BuildRefDao.java
@@ -79,6 +79,7 @@ public class BuildRefDao {
         .softValues()
         .build();
 
+    //todo check if invalidation may be missed in this cache
 
     /** */
     public BuildRefDao init() {