Docs Menu
Docs Home
/
MongoDB ๋งค๋‰ด์–ผ
/ / /

๋ณต์ œ๋ณธ ์„ธํŠธ๋ฅผ 6.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ

์ด ํŽ˜์ด์ง€์˜ ๋‚ด์šฉ

  • ์—…๊ทธ๋ ˆ์ด๋“œ ๊ถŒ์žฅ ์‚ฌํ•ญ ๋ฐ ์ฒดํฌ๋ฆฌ์ŠคํŠธ
  • ์ „์ œ ์กฐ๊ฑด
  • 6.0 ๋ฐ”์ด๋„ˆ๋ฆฌ ๋‹ค์šด๋กœ๋“œ
  • ์—…๊ทธ๋ ˆ์ด๋“œ ์ ˆ์ฐจ
  • ์ถ”๊ฐ€ ์—…๊ทธ๋ ˆ์ด๋“œ ์ ˆ์ฐจ

์ด ํŠœํ† ๋ฆฌ์–ผ์„ ์‚ฌ์šฉํ•˜์—ฌ MongoDB 5.0 ์—์„œ MongoDB 6.0 ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•ฉ๋‹ˆ๋‹ค. ๋™์ผํ•œ ์ถœ์‹œํ•˜๋‹ค ์‹œ๋ฆฌ์ฆˆ ๋‚ด์˜ ์ƒˆ ํŒจ์น˜ ์ถœ์‹œํ•˜๋‹ค ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•˜๋ ค๋ฉด MongoDB ์˜ ์ตœ์‹  ์ž์ฒด ๊ด€๋ฆฌ ํŒจ์น˜ ๋ฆด๋ฆฌ์Šค๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

MongoDB 6.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ ์ „์— ์‚ฌ์ „ ์š”๊ตฌ ์‚ฌํ•ญ์„ ์ฒ ์ €ํžˆ ๊ฒ€ํ† ํ•˜๋Š” ๊ฒƒ์„ ํฌํ•จํ•˜์—ฌ ์ด ๋ฌธ์„œ์˜ ๋‚ด์šฉ์„ ์ˆ™์ง€ํ•˜์‹ญ์‹œ์˜ค.

๋‹ค์Œ ๋‹จ๊ณ„๋Š” ๋ณต์ œ๋ณธ ์„ธํŠธ ๋ฉค๋ฒ„์ธ mongod๋ฅผ ๋ฒ„์ „ 5.0์—์„œ 6.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๋Š” ์ ˆ์ฐจ๋ฅผ ๊ฐ„๋žตํ•˜๊ฒŒ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.

6.0์œผ๋กœ์˜ ์—…๊ทธ๋ ˆ์ด๋“œ์— ๋Œ€ํ•œ ์ง€์นจ์ด ํ•„์š”ํ•œ ๊ฒฝ์šฐ, 6MongoDB ์ „๋ฌธ ์„œ๋น„์Šค ํŒ€์ด MongoDB ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ์ง€์žฅ์„ ์ฃผ์ง€ ์•Š๊ณ  ์›ํ™œํ•˜๊ฒŒ ์ „ํ™˜ํ•  ์ˆ˜ ์žˆ๋„๋ก ์ฃผ์š” ๋ฒ„์ „์„ ์œ„ํ•œ ์—…๊ทธ๋ ˆ์ด๋“œ ์ง€์›์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

์—…๊ทธ๋ ˆ์ด๋“œํ•  ๋•Œ๋Š” ๋‹ค์Œ ์‚ฌํ•ญ์„ ๊ณ ๋ คํ•˜์„ธ์š”:

๊ธฐ์กด MongoDB ๋ฐฐํฌ๋ฅผ 6.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๋ ค๋ฉด 5.0 ์‹œ๋ฆฌ์ฆˆ ๋ฆด๋ฆฌ์Šค๋ฅผ ์‹คํ–‰ ์ค‘์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

5.0 ์‹œ๋ฆฌ์ฆˆ ์ด์ „ ๋ฒ„์ „์—์„œ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๋ ค๋ฉด 5.0 ์‹œ๋ฆฌ์ฆˆ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•  ๋•Œ๊นŒ์ง€ ๋ฉ”์ด์ € ๋ฆด๋ฆฌ์Šค๋ฅผ ์—ฐ์†์ ์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด 4.4 ์‹œ๋ฆฌ์ฆˆ๋ฅผ ์‹คํ–‰ ์ค‘์ธ ๊ฒฝ์šฐ ๋จผ์ € 5.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ด์•ผ 6.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

MongoDB๋ฅผ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ ์ „์— MongoDB 6.0 ํ˜ธํ™˜ ๋“œ๋ผ์ด๋ฒ„๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š”์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ํŠน์ • ๋“œ๋ผ์ด๋ฒ„์˜ ๋“œ๋ผ์ด๋ฒ„ ์„ค๋ช…์„œ๋ฅผ ์ฐธ์กฐํ•˜์—ฌ MongoDB 6.0๊ณผ์˜ ํ˜ธํ™˜์„ฑ์„ ํ™•์ธํ•˜์„ธ์š”.

ํ˜ธํ™˜๋˜์ง€ ์•Š๋Š” ๋“œ๋ผ์ด๋ฒ„์—์„œ ์‹คํ–‰๋˜๋Š” ์—…๊ทธ๋ ˆ์ด๋“œ๋œ ๋ฐฐํฌ์—์„œ ์˜ˆ๊ธฐ์น˜ ์•Š๊ฑฐ๋‚˜ ์ •์˜๋˜์ง€ ์•Š์€ ๋™์ž‘์ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ์‹œ์ž‘ํ•˜๊ธฐ ์ „์— MongoDB 6.0์˜ ํ˜ธํ™˜์„ฑ ๋ณ€๊ฒฝ ์‚ฌํ•ญ ๋ฌธ์„œ๋ฅผ ์ฐธ์กฐํ•˜์—ฌ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ฐ ๋ฐฐํฌ๊ฐ€ MongoDB 6.0๊ณผ ํ˜ธํ™˜๋˜๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”. ์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ์‹œ์ž‘ํ•˜๊ธฐ ์ „์— ๋ฐฐํฌ์˜ ๋น„ํ˜ธํ™˜์„ฑ์„ ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค.

MongoDB๋ฅผ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ ์ „์— ํ”„๋กœ๋•์…˜ ํ™˜๊ฒฝ์— ์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ๋ฐฐํฌํ•˜๊ธฐ ์ „์— ํ•ญ์ƒ ์Šคํ…Œ์ด์ง• ํ™˜๊ฒฝ์—์„œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ํ…Œ์ŠคํŠธํ•˜์‹ญ์‹œ์˜ค.

์ง€์› ์˜ ๋„์›€ ์—†์ด๋Š” ๋ฐฐํฌ์˜ ๋ฐ”์ด๋„ˆ๋ฆฌ ๋ฒ„์ „์„ ๋‹ค์šด๊ทธ๋ ˆ์ด๋“œํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

ํ•™์Šต ๋‚ด์šฉ์€ 8.0 ์„ 7.0 ์œผ๋กœ ๋‹ค์šด๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

๋ชจ๋“  ๋ณต์ œ๋ณธ ์„ธํŠธ ๋ฉค๋ฒ„๋Š” ๋ฒ„์ „ 5.0์„ ์‹คํ–‰ ์ค‘์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. 4.4 ์‹œ๋ฆฌ์ฆˆ ์ดํ•˜์—์„œ ๋ณต์ œ๋ณธ ์„ธํŠธ๋ฅผ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๋ ค๋ฉด ๋จผ์ € ๋ณต์ œ๋ณธ ์„ธํŠธ์˜ ๋ชจ๋“  ๋ฉค๋ฒ„๋ฅผ ์ตœ์‹  5.0 ์‹œ๋ฆฌ์ฆˆ ๋ฆด๋ฆฌ์Šค๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•œ ๋‹ค์Œ, MongoDB 5.0์—์„œ 6.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๋Š” ์ ˆ์ฐจ๋ฅผ ๋”ฐ๋ฅด์„ธ์š”.

5.0 ๋ณต์ œ๋ณธ ์„ธํŠธ์—๋Š” featureCompatibilityVersion์ด "5.0"๋กœ ์„ค์ •๋˜์–ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๋ณต์ œ ์„ธํŠธ์˜ ๋ชจ๋“  ๊ตฌ์„ฑ์›์ด featureCompatibilityVersion ("5.0") ๋กœ ์„ค์ •๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•˜๋ ค๋ฉด ๊ฐ ๋ณต์ œ ์„ธํŠธ ๊ตฌ์„ฑ์›์— ์—ฐ๊ฒฐํ•˜๊ณ  featureCompatibilityVersion ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )

๋ชจ๋“  ๋ฉค๋ฒ„๋Š” "featureCompatibilityVersion" : { "version" : "5.0" }์„ ํฌํ•จํ•˜๋Š” ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

0}์„ ์„ค์ •ํ•˜๊ฑฐ๋‚˜ ์—…๋ฐ์ดํŠธํ•˜๋ ค๋ฉด featureCompatibilityVersion ๊ธฐ๋ณธ๊ฐ’์—์„œ ๋‹ค์Œ ๋ช…๋ น์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ํฌํ•จํ•˜๋Š” ๊ตฌ์„ฑ์›์˜ ๋Œ€๋ถ€๋ถ„์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )

์ž์„ธํ•œ ๋‚ด์šฉ์€ setFeatureCompatibilityVersion๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

8} ๋ช…๋ น์„ replSetGetStatus ์‹คํ–‰ํ•˜์—ฌ ๋˜๋Š” ROLLBACK ์ƒํƒœ์— ์žˆ๋Š” RECOVERING ๋ณต์ œ ์„ธํŠธ ๋ฉค๋ฒ„๊ฐ€ ์—†๋Š”์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

db.adminCommand( { replSetGetStatus: 1 } )

MongoDB apt, yum, dnf ๋˜๋Š” zypper ๋ฆฌํฌ์ง€ํ† ๋ฆฌ์—์„œ MongoDB๋ฅผ ์„ค์น˜ํ•œ ๊ฒฝ์šฐ ํŒจํ‚ค์ง€ ๊ด€๋ฆฌ์ž๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ 6.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Linux ์‹œ์Šคํ…œ์— ์ ํ•ฉํ•œ 6.0 ์„ค์น˜ ์ง€์นจ์„ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์—๋Š” ์ƒˆ ๋ฆด๋ฆฌ์Šค์— ๋Œ€ํ•œ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•œ ๋‹ค์Œ ์‹ค์ œ ์—…๊ทธ๋ ˆ์ด๋“œ ํ”„๋กœ์„ธ์Šค๋ฅผ ์ˆ˜ํ–‰ํ•˜๋Š” ์ž‘์—…์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

ํŒจํ‚ค์ง€ ๊ด€๋ฆฌ์ž๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ MongoDB๋ฅผ ์„ค์น˜ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ, MongoDB ๋‹ค์šด๋กœ๋“œ ์„ผํ„ฐ์—์„œ MongoDB ๋ฐ”์ด๋„ˆ๋ฆฌ๋ฅผ ์ˆ˜๋™์œผ๋กœ ๋‹ค์šด๋กœ๋“œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ž์„ธํ•œ ๋‚ด์šฉ์€ 6.0 ์„ค์น˜ ์ง€์นจ์„ ์ฐธ์กฐํ•˜์‹ญ์‹œ์˜ค.

MongoDB 5.0์—์„œ 6.0์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•  ๋•Œ๋Š” ๋‹ค์šดํƒ€์ž„์„ ์ตœ์†Œํ™”ํ•˜๊ธฐ ์œ„ํ•ด "๋กค๋ง" ์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ, ๋‹ค๋ฅธ ๋ฉค๋ฒ„๋“ค์ด ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ƒํƒœ๋ฅผ ์œ ์ง€ํ•˜๋ฉด์„œ ๊ฐœ๋ณ„ ๋ฉค๋ฒ„๋ฅผ ์ฐจ๋ก€๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

1

mongod ํ”„๋กœ์„ธ์Šค๋ฅผ ์ข…๋ฃŒํ•˜๋ ค๋ฉด mongosh๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ณต์ œ๋ณธ ์„ธํŠธ ๊ตฌ์„ฑ์›์— ์—ฐ๊ฒฐํ•˜๊ณ  ๋‹ค์Œ ๋ช…๋ น์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

db.adminCommand( { shutdown: 1 } )
2

๋ณต์ œ๋ณธ ์„ธํŠธ์˜ ๋ณด์กฐ ๋ฉค๋ฒ„๋ฅผ ํ•œ ๋ฒˆ์— ํ•˜๋‚˜์”ฉ ์—…๊ทธ๋ ˆ์ด๋“œํ•ฉ๋‹ˆ๋‹ค.

  1. 5.0 ๋ฐ”์ด๋„ˆ๋ฆฌ๋ฅผ 6.0 ๋ฐ”์ด๋„ˆ๋ฆฌ๋กœ ๊ต์ฒดํ•ฉ๋‹ˆ๋‹ค.

  2. ๋ฉค๋ฒ„๋ฅผ ๋‹ค์‹œ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

3

ํ”„๋ผ์ด๋จธ๋ฆฌ์— mongosh๋ฅผ ์—ฐ๊ฒฐํ•˜๊ณ  rs.stepDown()์„ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ์กด ํ”„๋ผ์ด๋จธ๋ฆฌ๋ฅผ ๊ฐ•๋“ฑํ•˜๊ณ  ๊ฐ•์ œ๋กœ ์ƒˆ ํ”„๋ผ์ด๋จธ๋ฆฌ์— ๋Œ€ํ•œ ํˆฌํ‘œ๋ฅผ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

4

2}์—์„œ ๊ธฐ๋ณธ ๊ตฌ์„ฑ์›์ด ๋ฌผ๋Ÿฌ๋‚˜๊ณ  ๋‹ค๋ฅธ ๊ตฌ์„ฑ์›์ด ์ƒํƒœ๋ฅผ rs.status() ๋งก๊ฒŒ PRIMARY ๋˜๋ฉด, ๋ฌผ๋Ÿฌ๋‚œ ๊ธฐ๋ณธ ๊ตฌ์„ฑ์›์„ ์—…๊ทธ๋ ˆ์ด๋“œํ•ฉ๋‹ˆ๋‹ค.

  1. ์Šคํ… ๋‹ค์šด๋œ ํ”„๋ผ์ด๋จธ๋ฆฌ๋ฅผ ์ข…๋ฃŒํ•˜๊ณ  mongod ๋ฐ”์ด๋„ˆ๋ฆฌ๋ฅผ 6.0 ๋ฒ„์ „์˜ ๋ฐ”์ด๋„ˆ๋ฆฌ๋กœ ๊ต์ฒดํ•ฉ๋‹ˆ๋‹ค.

  2. ๋ฉค๋ฒ„๋ฅผ ๋‹ค์‹œ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

5

ํ˜„์žฌ๋กœ์„œ๋Š” 5.0๊ณผ ํ˜ธํ™˜๋˜์ง€ ์•Š๋Š” 6.0 ๊ธฐ๋Šฅ ์—†์ด 6.0 ๋ฐ”์ด๋„ˆ๋ฆฌ๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด๋Ÿฌํ•œ 6.0 ๊ธฐ๋Šฅ์„ ํ™œ์„ฑํ™”ํ•˜๋ ค๋ฉด ๊ธฐ๋Šฅ ํ˜ธํ™˜์„ฑ ๋ฒ„์ „(fCV)์„ 6.0์œผ๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

ํŒ

์ด์ „ ๋ฒ„์ „๊ณผ ํ˜ธํ™˜๋˜์ง€ ์•Š๋Š” ์ด๋Ÿฌํ•œ ๊ธฐ๋Šฅ์„ ํ™œ์„ฑํ™”ํ•˜๋ฉด ๋‹ค์šด๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ ์ „์— ์ด์ „ ๋ฒ„์ „๊ณผ ํ˜ธํ™˜๋˜์ง€ ์•Š๋Š” ์ง€์†์ ์ธ ๊ธฐ๋Šฅ์„ ์ œ๊ฑฐํ•ด์•ผ ํ•˜๋ฏ€๋กœ ๋‹ค์šด๊ทธ๋ ˆ์ด๋“œ ํ”„๋กœ์„ธ์Šค๊ฐ€ ๋ณต์žกํ•ด์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์—…๊ทธ๋ ˆ์ด๋“œ ํ›„์—๋Š” ๋‹ค์šด๊ทธ๋ ˆ์ด๋“œ ๊ฐ€๋Šฅ์„ฑ์„ ์ตœ์†Œํ™”ํ•˜๊ธฐ ์œ„ํ•ด ๋ฒˆ์ธ ๊ธฐ๊ฐ„ ๋™์•ˆ ์ด๋Ÿฌํ•œ ๊ธฐ๋Šฅ์„ ํ™œ์„ฑํ™”ํ•˜์ง€ ์•Š๊ณ  ๋ฐฐํฌ๋ฅผ ์‹คํ–‰ํ•˜๋„๋ก ํ—ˆ์šฉํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค. ๋‹ค์šด๊ทธ๋ ˆ์ด๋“œ ๊ฐ€๋Šฅ์„ฑ์ด ๋งค์šฐ ๋‚ฎ๋‹ค๊ณ  ํ™•์‹ ํ•˜๋Š” ๊ฒฝ์šฐ ์ด๋Ÿฌํ•œ ๊ธฐ๋Šฅ์„ ํ™œ์„ฑํ™”ํ•˜์‹ญ์‹œ์˜ค.

ํŒ

์ดˆ๊ธฐ ๋™๊ธฐํ™”๊ฐ€ ์ง„ํ–‰ ์ค‘์ด ์•„๋‹Œ์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ์ดˆ๊ธฐ ๋™๊ธฐํ™”๊ฐ€ ์ง„ํ–‰ ์ค‘์ผ ๋•Œ setFeatureCompatibilityVersion ๋ช…๋ น์„ ์‹คํ–‰ํ•˜๋ฉด ์ดˆ๊ธฐ ๋™๊ธฐํ™”๊ฐ€ ๋‹ค์‹œ ์‹œ์ž‘๋ฉ๋‹ˆ๋‹ค.

๊ธฐ๋ณธ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ admin ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ setFeatureCompatibilityVersion ๋ช…๋ น์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

db.adminCommand( { setFeatureCompatibilityVersion: "6.0" } )

featureCompatibilityVersion (fCV) : "6.0" ์„ค์ • ์€ ์•”์‹œ์ ์œผ๋กœ replSetReconfig๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ ๊ตฌ์„ฑ ๋ฌธ์„œ์— term ํ•„๋“œ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ณ  ์ƒˆ ๊ตฌ์„ฑ์ด ๊ณผ๋ฐ˜์ˆ˜์˜ ๋ณต์ œ๋ณธ ์„ธํŠธ ๋ฉค๋ฒ„์—๊ฒŒ ์ „ํŒŒ๋  ๋•Œ๊นŒ์ง€ ์ฐจ๋‹จํ•ฉ๋‹ˆ๋‹ค.

์ด ๋ช…๋ น์€ ๋‚ด๋ถ€ ์‹œ์Šคํ…œ ์ปฌ๋ ‰์…˜์— ๋Œ€ํ•œ ์“ฐ๊ธฐ๋ฅผ ์ˆ˜ํ–‰ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์–ด๋–ค ์ด์œ ๋กœ๋“  ๋ช…๋ น์ด ์„ฑ๊ณต์ ์œผ๋กœ ์™„๋ฃŒ๋˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ์ž‘์—…์€ ๋ฌด๋ ฅํ•˜๋ฏ€๋กœ ์ฃผ ์„œ๋ฒ„์—์„œ ๋ช…๋ น์„ ์•ˆ์ „ํ•˜๊ฒŒ ์žฌ์‹œ๋„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋Œ์•„๊ฐ€๊ธฐ

๋…๋ฆฝํ˜•