Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup fails due to too many kinds in instance #3169

Closed
sentry-io bot opened this issue Sep 4, 2019 · 3 comments
Closed

Backup fails due to too many kinds in instance #3169

sentry-io bot opened this issue Sep 4, 2019 · 3 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 4, 2019

watermapmonitordev-hrd fails due to "INVALID_ARGUMENT: The requested EntityFilter specifies too many kinds and namespace IDs". We are right now specifying all the kinds that we want to backup, which in this case is 63, while it is 30-40 in other instances. Comparing this instance with "flowaglimmerofhope-hrd" (with 44 kinds) the diff is:

2,4d1
< AccessPointMappingHistory
< AccessPointMetricMapping
< AccessPointMetricSummary
10d6
< ColumnContainer
15d10
< DeviceFileJobQueue
18,19d12
< DeviceSurveyJobQueue
< GeoRegion
21,24d13
< KML
< MapControl
< MapFragment
< MappingSpreadsheetDefinition
27d15
< NotificationHistory
35d22
< QuestionHelpMedia
39,43c26
< RowContainer
< SpreadsheetContainer
< Standard
< StandardScoreBucket
< StandardScoring
---
> SubCountry
56c39
< TechnologyType
---
> SurveyedLocaleSummary
58d40
< UnitOfMeasure
63d44
< WebActivityAuthorization

As a workaround we will remove some of those kinds from the backup process.

Change the way we filter entities.

BashError: command echo "Backup failed for $i" exited with status 141

Sentry Issue: FLOW-BACKUPS-A

BashError: command echo "Backup failed for $i" exited with status 141
  File "./backup_all.sh", line 1, in main
    #!/usr/bin/env bash
@muloem
Copy link
Member

muloem commented Sep 17, 2019

These kinds need to be cleared out anyway. They are no longer used. 👍

@stellanl
Copy link
Contributor

stellanl commented Oct 2, 2019

Want me to write script that purges them or is there a "commandline" solution?

@iperdomo
Copy link
Contributor

  • We have deleted unused AccessPoint* kinds, from instances watermapmonitordev-hrd, flowliberia-hrd, flowaglimmerofhope-hrd
AccessPoint
AccessPointMappingHistory
AccessPointMetricMapping
AccessPointMetricSummary
AccessPointScoreComputationItem
AccessPointScoreDetail
AccessPointStatusSummary
  • We have deleted RemoteStacktrace from all instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants