Samir Patel
dbdd3c4998
see if this is the only test failing
2021-06-01 10:47:09 -05:00
Samir Patel
fd58fe1a7d
test stuff
2021-06-01 10:47:09 -05:00
Samir Patel
63300db1bd
try test with usage always blocking on calc
2021-06-01 10:47:09 -05:00
Samir Patel
108da005b7
test stuff
2021-06-01 10:47:09 -05:00
Samir Patel
f946528053
comment out debug statements
2021-06-01 10:47:09 -05:00
Samir Patel
7799d7c680
Add sleep to wait for holder to load
2021-06-01 10:47:09 -05:00
Samir Patel
f6d7d1af39
move requestNodes() out of refresh loop
2021-06-01 10:47:09 -05:00
Samir Patel
0b083da126
debugging test
2021-06-01 10:47:09 -05:00
Samir Patel
1e5df36fb7
change to not calculate node usage periodically
2021-06-01 10:47:09 -05:00
Samir Patel
1385cf61eb
attempt to address missing node uri issue
2021-06-01 10:47:09 -05:00
Samir Patel
79f04f31cb
see if this gets test passing
2021-06-01 10:47:09 -05:00
Samir Patel
21e5cda7e0
Add lock to node usage
2021-06-01 10:47:09 -05:00
Samir Patel
14533d88a1
add read lock
2021-06-01 10:47:09 -05:00
Samir Patel
7d56414557
change err response to info messages
2021-06-01 10:47:09 -05:00
Samir Patel
4096c8cb8e
go mod tidy
2021-06-01 10:47:09 -05:00
Samir Patel
e7f1c8b66a
Reverted directoryUsage back to using old Readdir()
2021-06-01 10:47:09 -05:00
Samir Patel
ae6687e71b
change flag name to usage-interval
2021-06-01 10:47:09 -05:00
Samir Patel
42067237f7
simplify if statement in calcUsage()
2021-06-01 10:47:09 -05:00
Samir Patel
e8b9fa0482
update comments and rename nodeUsage()
2021-06-01 10:47:09 -05:00
Samir Patel
f5cc179893
change flag from interval to duration
2021-06-01 10:47:09 -05:00
Samir Patel
0ef16ce634
fix calculation for nodes
2021-06-01 10:47:09 -05:00
Samir Patel
ff6b3fed97
remove initCache
2021-06-01 10:47:09 -05:00
Samir Patel
431db4c1a3
add 'lastUpdated' in http response
2021-06-01 10:47:09 -05:00
Samir Patel
8ce17f405b
rename flag to disk-usage-interval
2021-06-01 10:47:09 -05:00
Samir Patel
9beb3f0b3a
rename flag and add default value for flag
2021-06-01 10:47:09 -05:00
Samir Patel
827b125c3c
rename and set default
2021-06-01 10:47:09 -05:00
Samir Patel
03e0df389d
use flag value as refresh value
2021-06-01 10:47:09 -05:00
Samir Patel
cd47a381f2
use flag value as refresh value
2021-06-01 10:47:09 -05:00
Samir Patel
b02188fd15
update usage cache periodically
2021-06-01 10:47:09 -05:00
Samir Patel
52418df4ba
start periodic cache recalculation at startup
2021-06-01 10:47:08 -05:00
Samir Patel
835c63011a
add server flag
2021-06-01 10:47:08 -05:00
Samir Patel
be10927ca7
set lastUpdated after cache calculation
2021-06-01 10:47:08 -05:00
Samir Patel
20f8479f41
add time based cache
2021-06-01 10:47:08 -05:00
Samir Patel
11d1859830
undo changes to IndexUsageDetails
2021-06-01 10:47:08 -05:00
Samir Patel
4842d93850
adds logic to remove old items from cache
2021-06-01 10:47:08 -05:00
Samir Patel
d71da09db2
add cache update on time
2021-06-01 10:47:08 -05:00
Samir Patel
713ffb723b
replace ReadDir
2021-06-01 10:47:08 -05:00
Samir Patel
155003122b
replace ReadDir syscall with new one from 1.16
2021-06-01 10:47:08 -05:00
Samir Patel
c812cca58e
add cache
2021-06-01 10:47:08 -05:00
tgruben
3c399bc533
Merge pull request #1621 from tgruben/cluster-restore
...
[CORE-529] Multi-node restore
2021-05-28 11:36:04 -05:00
Todd Gruben
c16a7a06a0
applied bens suggestions mainly using errgroup
2021-05-28 11:02:31 -05:00
Todd Gruben
35672c53ce
added node partition endpoint;cluster aware key restore
2021-05-28 09:27:42 -05:00
Nia
9c7ca2380f
Merge pull request #1620 from niaow/fix-like
...
[CORE-577] Execute like queries on the primary's key translation database
2021-05-28 07:18:11 -04:00
Nia
a77be9dd61
Merge branch 'master' into fix-like
2021-05-28 06:40:57 -04:00
Alan Bernstein
9ca33abadd
Merge pull request #1610 from molecula/remove-oss-readme
...
Remove readme content that only applies to the open-source fork
2021-05-27 18:29:45 -05:00
Nia Weiss
a8f7ec4a12
execute like queries on the primary's key translation database
...
This works around an issue where unreplicated keys will not be matched everywhere.
This also avoids the cost of creating millions of bolt read transactions and allocating strings.
2021-05-27 14:45:10 -04:00
Alan Bernstein
052956daaf
Remove readme content that only applies to the open-source fork
2021-05-26 17:13:05 -05:00
Stephanie Yang
bfef27205b
Merge pull request #1618 from molecula/chore/syang/remove-prodpad
...
CLOUD-75: Remove ProdPad integration
2021-05-26 15:43:23 -05:00
Stephanie Yang
d047c45045
Merge branch 'master' into chore/syang/remove-prodpad
2021-05-26 15:11:05 -05:00
Nia
97fee3b7a8
Merge pull request #1619 from niaow/postgres-delete
...
[CORE-573] Add an option to open a postgres transaction in lookup
2021-05-26 14:54:06 -04:00