Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7bd4fc2a
Commit
7bd4fc2a
authored
Apr 11, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Elastic] Stabilize database indexer if database is inconsistent
parent
fb561a15
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG-EE
CHANGELOG-EE
+1
-0
lib/elastic/issues_search.rb
lib/elastic/issues_search.rb
+2
-2
lib/elastic/merge_requests_search.rb
lib/elastic/merge_requests_search.rb
+1
-1
No files found.
CHANGELOG-EE
View file @
7bd4fc2a
...
...
@@ -3,6 +3,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.7.0 (unreleased)
- Update GitLab Pages to 0.2.1: support user-defined 404 pages
- Refactor group sync to pull access level logic to its own class. !306
- [Elastic] Stabilize database indexer if database is inconsistent
v 8.6.5
- No EE-specific changes
...
...
lib/elastic/issues_search.rb
View file @
7bd4fc2a
...
...
@@ -38,8 +38,8 @@ module Elastic
data
[
attr
.
to_s
]
=
self
.
send
(
attr
)
end
data
[
'project'
]
=
{
'id'
=>
project
.
id
}
data
[
'author'
]
=
{
'id'
=>
author
.
id
}
data
[
'project'
]
=
{
'id'
=>
project
_
id
}
data
[
'author'
]
=
{
'id'
=>
author
_
id
}
data
[
'updated_at_sort'
]
=
updated_at
data
end
...
...
lib/elastic/merge_requests_search.rb
View file @
7bd4fc2a
...
...
@@ -58,7 +58,7 @@ module Elastic
data
[
'source_project'
]
=
{
'id'
=>
source_project_id
}
data
[
'target_project'
]
=
{
'id'
=>
target_project_id
}
data
[
'author'
]
=
{
'id'
=>
author
.
id
}
data
[
'author'
]
=
{
'id'
=>
author
_
id
}
data
[
'updated_at_sort'
]
=
updated_at
data
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment