[ARVADOS] updated: 1.3.0-965-g6817a4115
Git user
git at public.curoverse.com
Fri May 31 19:29:40 UTC 2019
Summary of changes:
services/api/script/populate-file-info-columns-in-collections.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 6817a41155e2aef66b3f14536b9d2ac3d1ea642c (commit)
from 0d8adf9bb22e169fb47d64ca19045283ff5fafd1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 6817a41155e2aef66b3f14536b9d2ac3d1ea642c
Author: Ward Vandewege <wvandewege at veritasgenetics.com>
Date: Fri May 31 15:27:38 2019 -0400
Address review comments.
refs #15093
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege at veritasgenetics.com>
diff --git a/services/api/script/populate-file-info-columns-in-collections.rb b/services/api/script/populate-file-info-columns-in-collections.rb
index b0bc5a21a..f7cb024b2 100755
--- a/services/api/script/populate-file-info-columns-in-collections.rb
+++ b/services/api/script/populate-file-info-columns-in-collections.rb
@@ -70,7 +70,7 @@ require "group_pdhs"
def main
distinct_pdh_count = ActiveRecord::Base.connection.exec_query(
- "SELECT DISTINCT portable_data_hash FROM collections"
+ "SELECT DISTINCT portable_data_hash FROM collections where file_count=0"
).rows.count
# Generator that queries for all the distinct pdhs greater than last_pdh
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list