mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
Upgrade TiDB to v3.0 #160
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lastzero on GitHub (Jan 13, 2020).
Originally assigned to: @cuongcb on GitHub.
As a developer, I want to use the latest stable version of TiDB so that my users get the best performance and there are no security issues.
Sadly,
go get -u -t ./...doesn't do the trick:Not sure what the issue is here. They have a lot of dependencies and it never was easy to figure out, which versions work together although that might have improved recently.
Once dependencies are upgraded, we might have to change some things in our bootstrap code:
https://github.com/photoprism/photoprism/tree/develop/internal/tidb
Acceptance Criteria:
@ArchiMoebius commented on GitHub (Apr 9, 2020):
Peeking at the issue - it looks like x-server went away: https://github.com/pingcap/tidb/pull/9038 - fun fun...
@cuongcb commented on GitHub (Apr 21, 2020):
Is there currently anybody in charge of this issue? I'm new to photoprism and I got this problem too. I wanna give it a try.
@lastzero commented on GitHub (Apr 21, 2020):
@cuongcb You're most welcome to help with this! We're currently working on the Web UI, so merge conflicts are unlikely :)
@skyeskie commented on GitHub (Apr 21, 2020):
The specific error with
go getis due to https://github.com/pingcap/tidb/issues/16381@cuongcb commented on GitHub (Apr 22, 2020):
Thank @skyeskie for a detailed reply.
Additionally, we can get the latest version of TiDB by issuing
go get github.com/pingcap/tidb@masterand a random-generated version number will be assigned in ourgo.mod. But as @poerhiza pointed out above, TiDB removed thex-serverfrom their source. So now we have to deal with the replacement ofx-server.@cuongcb commented on GitHub (Apr 30, 2020):
For anyone that has the same issue:
and still want to keep the
photoprismworking with the old version oftidb(v2.1.11), please follow these steps:go.modclient_golangpackage fromgo.modgo get -u -t github.com/pingcap/tidb@5ea2830cd7793b166d811d0a65a9c618296cd963Start photoprism~
@lastzero commented on GitHub (May 1, 2020):
FYI: When upgrading github.com/golang/protobuf from v1.3.5 to 1.4.0, TiDB experienced a fatal error. Had to downgrade again:
github.com/photoprism/photoprism@743b2dc348